emehmetcik
Followers: 0 Following: 0
Feeds
已解决
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
4 years 前
已回答
How to use pwelch for PSD?
The way you call "pwelch" function is erroneous: [pxx,f]=pwelch(calxbit, segmentLength, 0.5, nfft, fs); When "pwelch" is calle...
How to use pwelch for PSD?
The way you call "pwelch" function is erroneous: [pxx,f]=pwelch(calxbit, segmentLength, 0.5, nfft, fs); When "pwelch" is calle...
5 years 前 | 0
提问
Why is rotate3d not added by default in spectrogram plots in 2018b?
Hi, I tried 2018b release recently and I noted that there are some changes in the usage of visualization tools. For instance pa...
6 years 前 | 1 个回答 | 0
1
个回答已回答
Plotting while in a for loop doesn't work?
A solution for this problem is "drawnow" function, *assuming that your code is something like this* : for k = 1 : N %...
Plotting while in a for loop doesn't work?
A solution for this problem is "drawnow" function, *assuming that your code is something like this* : for k = 1 : N %...
9 years 前 | 2
| 已接受
已回答
How to plot colorful histogram type constellation diagram in Matlab
You can use hist3 function. Here is an example for "Noisy_Data" in your code: figure; z = [real(Noisy_Data), imag(Noisy_...
How to plot colorful histogram type constellation diagram in Matlab
You can use hist3 function. Here is an example for "Noisy_Data" in your code: figure; z = [real(Noisy_Data), imag(Noisy_...
9 years 前 | 0
已回答
MATLAB doing wrong polynomial fitting
It is about the numerical precision of the polynomial coefficients. When I use polyfit function (to fit a 9th degree polynomial ...
MATLAB doing wrong polynomial fitting
It is about the numerical precision of the polynomial coefficients. When I use polyfit function (to fit a 9th degree polynomial ...
9 years 前 | 0
| 已接受
已回答
How do I add label/Legend, percentage, and explode all at once?
Not an elegant way but try this: x = [0 46 0 57 90]; x_idx = 1 : numel(x); explode = ones(size(x)); xx...
How do I add label/Legend, percentage, and explode all at once?
Not an elegant way but try this: x = [0 46 0 57 90]; x_idx = 1 : numel(x); explode = ones(size(x)); xx...
9 years 前 | 0
已回答
How do I add label/Legend, percentage, and explode all at once?
You can try using very small percentages instead of zeros: x = [0 46 0 57 90]+eps; % Make them all non-zero explode = [0...
How do I add label/Legend, percentage, and explode all at once?
You can try using very small percentages instead of zeros: x = [0 46 0 57 90]+eps; % Make them all non-zero explode = [0...
9 years 前 | 0
已回答
3D Plot from finite 2D Plots in each section!
You can use plot3() function. figure; hold on; for j=1:Nj plot3(X(j, :), Y(j, :), j*ones(size(X(j, :)))) end ...
3D Plot from finite 2D Plots in each section!
You can use plot3() function. figure; hold on; for j=1:Nj plot3(X(j, :), Y(j, :), j*ones(size(X(j, :)))) end ...
9 years 前 | 0
已回答
How to exract data from a figure and insert x and y values into a .mat file ?
z = [x(:), y(:)]; save('MatFileName', 'z')
How to exract data from a figure and insert x and y values into a .mat file ?
z = [x(:), y(:)]; save('MatFileName', 'z')
10 years 前 | 0
| 已接受
已回答
Does anybody know how to include a legend in a figure of three functions with different colours or patterns?
doc legend %% plot(t,x1,'r'); hold on; % One 'hold on' is enough plot(t,x2,b--o'); plot(t,x3,g--'); le...
Does anybody know how to include a legend in a figure of three functions with different colours or patterns?
doc legend %% plot(t,x1,'r'); hold on; % One 'hold on' is enough plot(t,x2,b--o'); plot(t,x3,g--'); le...
10 years 前 | 0
| 已接受
已回答
How do I scale a scatter-plot to 250 by 250 using the line data type?
I assume you want to set the axis limits to 0 to 250 for x and 0 to 250 for y. This can be done by "axis"function. axis([0,...
How do I scale a scatter-plot to 250 by 250 using the line data type?
I assume you want to set the axis limits to 0 to 250 for x and 0 to 250 for y. This can be done by "axis"function. axis([0,...
10 years 前 | 1
| 已接受
已回答
How can i split a matrix into product of two matrices in matlab?
@John D'Errico You are right about your comment on singularity of a matrix and positive definiteness. I assumed that sin...
How can i split a matrix into product of two matrices in matlab?
@John D'Errico You are right about your comment on singularity of a matrix and positive definiteness. I assumed that sin...
10 years 前 | 1
| 已接受
已回答
No graphs after plot command
Your output variable "w" mostly consists of "nan" (not a number) values. Probably the result of zero divided by zero at some poi...
No graphs after plot command
Your output variable "w" mostly consists of "nan" (not a number) values. Probably the result of zero divided by zero at some poi...
10 years 前 | 0
已回答
How to draw a figure with subplots which can pop up in a new window when I click at them?
Hi, A simple way to do this is to use the button press callback function (ButtonDownFcn): <http://www.mathworks.com/help/m...
How to draw a figure with subplots which can pop up in a new window when I click at them?
Hi, A simple way to do this is to use the button press callback function (ButtonDownFcn): <http://www.mathworks.com/help/m...
10 years 前 | 1
| 已接受
已回答
Imagesc and plot on the same graph with two scale
Hi, You can use imagesc() function with x, y and z inputs. These inputs does not necessarily be the same size as required by...
Imagesc and plot on the same graph with two scale
Hi, You can use imagesc() function with x, y and z inputs. These inputs does not necessarily be the same size as required by...
10 years 前 | 0
已回答
Automatically close parenthesis when we open it
I think this is something related to the text editor preferences. You can try changing the editor used by Matlab. In File->Prefe...
Automatically close parenthesis when we open it
I think this is something related to the text editor preferences. You can try changing the editor used by Matlab. In File->Prefe...
10 years 前 | 0