Plots and FFT of Rows or Columns of Data
Physics Forums » MATLAB, Maple, Mathematica, LaTeX
by Ephant
23h ago
Hi, the following plots the waveforms and the FFT of a signal (one channel only): Matlab: signal = data; %assuming data was loaded first Fs = 4800; % Sampling frequency T = 1/Fs; % Sampling period L = size(signal, 1); % Length of signal t = (0:L-1)*T; % Time vector X = double(signal)... Read more ..read more
Visit website
Coloring and legending issue
Physics Forums » MATLAB, Maple, Mathematica, LaTeX
by djymndl07
23h ago
Look at the following Image. The results are okay but clearly the plot colors does not match with the color bar. for example the color bar is showing only single color. the value 0.4 in color bar corresponds to the radius 0.8 which is different color in the plot. Another issue is that I don't... Read more ..read more
Visit website
Solve complex equation analytically
Physics Forums » MATLAB, Maple, Mathematica, LaTeX
by djymndl07
4d ago
I was going through an article. I have the following functions, $$f(\text{r$\_$})\text{:=}-\frac{2 M r^2}{g^3+r^3}+\frac{8}{3} \pi P r^2+1$$ $$\text{v}(\text{r$\_$})\text{:=}\frac{f(r)}{r^2}$$ Now I want to solve v'[r]=0 for r. Clearly This cannot be solved analytically. But there they... Read more ..read more
Visit website
Bar legend for a different function in mathematica
Physics Forums » MATLAB, Maple, Mathematica, LaTeX
by djymndl07
6d ago
How Can I add bar Legend for g[t] in the following code in mathematica? Thanks in advance? f[t_] := t + 1 g[t_] := t^3 + 3*t + 12 ParametricPlot[{f[t]*Cos[\[Theta]], f[t]*Sin[\[Theta]]}, {t, 0, 1}, {\[Theta], 0, 2*Pi}, ColorFunction -> Function[{x, y, t}, ColorData["SolarColors"][Rescale[g[t], {g[0]... Read more ..read more
Visit website
Weighting data points with fitted curve in Matlab
Physics Forums » MATLAB, Maple, Mathematica, LaTeX
by Steven Thomas
1M ago
Hi all, I'm currently in the middle of performing an experiment for the final project of my MSc, and I have a question about how I should go about weighting the data when fitting a curve to it using the MATLAB fitting tool. Firstly, a bit of background about the problem. I am seeing how low... Read more ..read more
Visit website
Why Is Mathematica Not Graphing This 3d Graph Correctly?
Physics Forums » MATLAB, Maple, Mathematica, LaTeX
by Ascendant0
1M ago
As you can see from the image here, when I graph the 2d graph of y = 5sin(1/x), it comes out like I'd expect. However, when I graph it in a 3d graph, it doesn't look right at all. Can someone tell me why it isn't displaying right, or is it and I'm just missing something when I add the z axis... Read more ..read more
Visit website
What does second factor mean in Parallel Factor Analysis
Physics Forums » MATLAB, Maple, Mathematica, LaTeX
by Ephant
1M ago
There is a first factor and second factor in PARAFAC. What does second factor mean? background: Parallel Factor Analysis (PARAFAC; Hitchcock, 1927; Carrol and Chang, 1970; Harshman, 1970) is a method to decompose multi-dimensional arrays in order to focus on the features of interest, and... Read more ..read more
Visit website
Possible name of the software used to type equations in a video
Physics Forums » MATLAB, Maple, Mathematica, LaTeX
by brotherbobby
1M ago
Video Link Many thanks if you can guess what the name of the software is. It can be very useful for teaching. Let me also confess that, till date, I haven't found a software that can type ##\rm{LaTeX}## equations in real time on to the computer screen. LyX is the only one I know of, but... Read more ..read more
Visit website
Unable to crack this image enhancement code -- Matlab is throwing errors
Physics Forums » MATLAB, Maple, Mathematica, LaTeX
by Saikiran
1M ago
Matlab: img= imread('Image.bmp'); img= rgb2gray(img); imshow(img); pt = ginput(4); % the function ginput is used to get the input from mouse x1 = pt(1,1); y1 = pt(1,2); x2 = pt(2,1); y2 = pt(2,2); x = [x1 x2]; y = [y1 y2]; line(x,y); x3 = pt(3,1); y3 = pt(3,2); x4 = pt(4,1); y4 = pt(4,2); x = [x2... Read more ..read more
Visit website
Mathematica : NDSolve on 2-D steady state heat eqn
Physics Forums » MATLAB, Maple, Mathematica, LaTeX
by Swamp Thing
1M ago
I am trying to implement this equation ##−k∇^2 u = e^{-(x^2+y^2)}## using NDSolve in Mathematica. The idea is to solve for the temperature of a plate 10 x 10 units, with heat inputs as per the RHS. Here is my attempt: Code: NDSolve[{ - Laplacian[u, {x, y}] == Exp[-(x^2 + y^2)], u[x, -5] == 0... Read more ..read more
Visit website

Follow Physics Forums » MATLAB, Maple, Mathematica, LaTeX on FeedSpot

Continue with Google
Continue with Apple
OR