統計
MATLAB Answers
0 質問
58 回答
ランク
of 170,858
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
回答済み
Apply a colored filter on grayscale image?
You grayscale image (say iRed) is a m*n*1 matrix. (m, n are x and y dimensions). To make the grayscale image iRed to redscale im...
Apply a colored filter on grayscale image?
You grayscale image (say iRed) is a m*n*1 matrix. (m, n are x and y dimensions). To make the grayscale image iRed to redscale im...
7年弱 前 | 0
| 採用済み
回答済み
How can i change the step input to cubic polynomial curve in simulink
PFA. I made 45(t^3)/125 signal. Hope this helps.
How can i change the step input to cubic polynomial curve in simulink
PFA. I made 45(t^3)/125 signal. Hope this helps.
7年弱 前 | 0
回答済み
Doubt regarding processing of Upsampling and Downsampling Data in an Image.
Theoritically speaking, yes. You will actually be using just 25% of your original image's data points (50% in x, 50% in y). But ...
Doubt regarding processing of Upsampling and Downsampling Data in an Image.
Theoritically speaking, yes. You will actually be using just 25% of your original image's data points (50% in x, 50% in y). But ...
7年弱 前 | 0
| 採用済み
回答済み
ECG signal filteration required
You can use the method mentioned in https://www.mathworks.com/help/signal/ug/remove-the-60-hz-hum-from-a-signal.html and use a b...
ECG signal filteration required
You can use the method mentioned in https://www.mathworks.com/help/signal/ug/remove-the-60-hz-hum-from-a-signal.html and use a b...
7年弱 前 | 0
回答済み
How can i connect simulink and matlab together?
The variables K1-K6 should just be present in the base workspace and Simulink will pull the values from there. If you have a fun...
How can i connect simulink and matlab together?
The variables K1-K6 should just be present in the base workspace and Simulink will pull the values from there. If you have a fun...
7年弱 前 | 1
回答済み
Mesh Plot from Data Points
Hi Garret, To use surf(x,y,z), x, y and z should be matrices of the same size.Also, as you may know, the x, y and z are from th...
Mesh Plot from Data Points
Hi Garret, To use surf(x,y,z), x, y and z should be matrices of the same size.Also, as you may know, the x, y and z are from th...
7年弱 前 | 0
回答済み
What will be the specifications for designing 50/60 Hz Analog Low Pass Filter in Simulink?
It really depends on your use case. For instance, Chebyshev filter gives a faster roll-off rate than Butterworth by allowing mor...
What will be the specifications for designing 50/60 Hz Analog Low Pass Filter in Simulink?
It really depends on your use case. For instance, Chebyshev filter gives a faster roll-off rate than Butterworth by allowing mor...
7年弱 前 | 1
| 採用済み
回答済み
How to use latin hypercube sampling? Neural network optimization help?
Since your simulation is quite time consuming and you are considering sampling methods as well, I would suggest an approach like...
How to use latin hypercube sampling? Neural network optimization help?
Since your simulation is quite time consuming and you are considering sampling methods as well, I would suggest an approach like...
7年弱 前 | 1
回答済み
trapz errors in compiled code but not script
From the documentation of trapz(https://www.mathworks.com/help/releases/R2018a/matlab/ref/trapz.html): Q = trapz(X,Y) integra...
trapz errors in compiled code but not script
From the documentation of trapz(https://www.mathworks.com/help/releases/R2018a/matlab/ref/trapz.html): Q = trapz(X,Y) integra...
7年弱 前 | 0
回答済み
How to fix remote Matlab display resolution when using ssh -X?
You can try using Painters as a renderer only instead of OpenGL. Use -noopengl flag while opening MATLAB from the command line t...
How to fix remote Matlab display resolution when using ssh -X?
You can try using Painters as a renderer only instead of OpenGL. Use -noopengl flag while opening MATLAB from the command line t...
約7年 前 | 0
回答済み
How can I delay a chirp signal for signal processing?
t=1; delay=t*1e3; %delay of 1 seconds z=zeros(1,delay); %delay is the no. of delay samples signal=[z,signal]...
How can I delay a chirp signal for signal processing?
t=1; delay=t*1e3; %delay of 1 seconds z=zeros(1,delay); %delay is the no. of delay samples signal=[z,signal]...
約7年 前 | 1
| 採用済み
回答済み
I want to detect flowers of two kinds of plants,what kind of features I should extract in such images?
For this particular problem, you can check the standard deviation in all the three color spaces and identify the flower based on...
I want to detect flowers of two kinds of plants,what kind of features I should extract in such images?
For this particular problem, you can check the standard deviation in all the three color spaces and identify the flower based on...
約7年 前 | 0
| 採用済み
回答済み
Plot multiple realizations of a Makrov chain in the same plot
<https://www.mathworks.com/help/matlab/ref/hold.html hold on>
Plot multiple realizations of a Makrov chain in the same plot
<https://www.mathworks.com/help/matlab/ref/hold.html hold on>
7年以上 前 | 0
回答済み
I use xlswrite and xlswritespec all the time. I am having a specific problem with xlswrite (see below)
Did you make sure that the file is not open? xlswrite() actually launches Excel and tries to open the file. So if you have t...
I use xlswrite and xlswritespec all the time. I am having a specific problem with xlswrite (see below)
Did you make sure that the file is not open? xlswrite() actually launches Excel and tries to open the file. So if you have t...
7年以上 前 | 0
| 採用済み
回答済み
3D axis rotation with meshgrid
You aren't plotting the updated values X and Y. Last line should be:- >> contourf(X,Y,B,25,'LineStyle','none')
3D axis rotation with meshgrid
You aren't plotting the updated values X and Y. Last line should be:- >> contourf(X,Y,B,25,'LineStyle','none')
7年以上 前 | 0
回答済み
MATLAB Autoscaling Issue for Constant Numbers
You can use <https://www.mathworks.com/help/matlab/ref/axis.html axis> and <https://www.mathworks.com/help/matlab/creating_plots...
MATLAB Autoscaling Issue for Constant Numbers
You can use <https://www.mathworks.com/help/matlab/ref/axis.html axis> and <https://www.mathworks.com/help/matlab/creating_plots...
7年以上 前 | 0
回答済み
Turn off plot confidence bounds
The plot p shows the data, the fit and the confidence handle. The visibility of the confidence bounds lines can be set to 'off' ...
Turn off plot confidence bounds
The plot p shows the data, the fit and the confidence handle. The visibility of the confidence bounds lines can be set to 'off' ...
7年以上 前 | 1
回答済み
chi2pdf WITHOUT using a for loop
Element wise multiplication can be performed using the '.*' operator. So, if you have two matrices say X (n x m) and y(n x m) an...
chi2pdf WITHOUT using a for loop
Element wise multiplication can be performed using the '.*' operator. So, if you have two matrices say X (n x m) and y(n x m) an...
7年以上 前 | 0
回答済み
Restore sinusoid signal data
One way would be to find the frequency of the signal from the clean part of the signal by calculating the distance between the f...
Restore sinusoid signal data
One way would be to find the frequency of the signal from the clean part of the signal by calculating the distance between the f...
7年以上 前 | 1
回答済み
Is the result from xcorr(zscore(X),zscore(Y), 'coeff') the same as correlation coefficient for each lag position?
Yes, you are correct. It does give the correlation coefficients for the every lag values. By using 'coeff' the following changes...
Is the result from xcorr(zscore(X),zscore(Y), 'coeff') the same as correlation coefficient for each lag position?
Yes, you are correct. It does give the correlation coefficients for the every lag values. By using 'coeff' the following changes...
7年以上 前 | 1
| 採用済み
回答済み
Cell detection and segmentation on image with uneven background and low resolution
Try texture segmentation and then the cell detection and segmentation. Check out <https://www.mathworks.com/campaigns/offers/ima...
Cell detection and segmentation on image with uneven background and low resolution
Try texture segmentation and then the cell detection and segmentation. Check out <https://www.mathworks.com/campaigns/offers/ima...
7年以上 前 | 0
| 採用済み
回答済み
How to add the strings in three for loops
Correct code: ht=cell(3,1); for i=1:3 for k=1:3 for m=1:3 if (k*m==1) ...
How to add the strings in three for loops
Correct code: ht=cell(3,1); for i=1:3 for k=1:3 for m=1:3 if (k*m==1) ...
7年以上 前 | 0
| 採用済み
回答済み
FFT Transform on vectors
This should help. For sliding window; % x=signal % A=output array % shift=shift of sliding window % windowlen=w...
FFT Transform on vectors
This should help. For sliding window; % x=signal % A=output array % shift=shift of sliding window % windowlen=w...
7年以上 前 | 0
回答済み
How i can generate clean %50 duty square waves ?
You can try improving the samples per cycle and making your signal more sharp as long as it obeys the size limits, if you still ...
How i can generate clean %50 duty square waves ?
You can try improving the samples per cycle and making your signal more sharp as long as it obeys the size limits, if you still ...
7年以上 前 | 0
回答済み
Variable Step between only two values
You can use the sim command to simulate the model from a start time, to a stop time and with a time step. Eg:- If your simulatio...
Variable Step between only two values
You can use the sim command to simulate the model from a start time, to a stop time and with a time step. Eg:- If your simulatio...
7年以上 前 | 0
| 採用済み
回答済み
How can I fix this error?
You are getting the error because after performing 'y=diff(y)', y becomes '[]' which makes the RHS '[]' as well. The correct cod...
How can I fix this error?
You are getting the error because after performing 'y=diff(y)', y becomes '[]' which makes the RHS '[]' as well. The correct cod...
7年以上 前 | 0
回答済み
Mux a variable number of signals without mux block
I hope something like this would solve your problem. <</matlabcentral/answers/uploaded_files/131470/mux.png>> I have used ...
Mux a variable number of signals without mux block
I hope something like this would solve your problem. <</matlabcentral/answers/uploaded_files/131470/mux.png>> I have used ...
7年以上 前 | 0
回答済み
Combining symbolic integral expressions
Hi Randolf, To check the validity of K==L, you must expand the equation and then simplify it as shown: >> logical(simpli...
Combining symbolic integral expressions
Hi Randolf, To check the validity of K==L, you must expand the equation and then simplify it as shown: >> logical(simpli...
7年以上 前 | 2
回答済み
Can anyone tell me how to calculate this integration using integral2? I am using the below code but not getting the desired result.That is why I want to use integral2.
If f1 is your t_A and x,y your variables, you can use >> F=@(x,y) f1(x,y).*exp(-i*2*pi*(x*u+y*v)/(lambda*f)); >> I=int...
Can anyone tell me how to calculate this integration using integral2? I am using the below code but not getting the desired result.That is why I want to use integral2.
If f1 is your t_A and x,y your variables, you can use >> F=@(x,y) f1(x,y).*exp(-i*2*pi*(x*u+y*v)/(lambda*f)); >> I=int...
7年以上 前 | 0
回答済み
How do I plot three waves (sin, triangle, and square) with a Vp-p of 4V and the function generator set at 1KHz
If its MATLAB you want to plot it in, f=1000; t=0:0.00001:0.002; s=2*sin(2*pi*f*t); tr=2*sawtooth(2*pi*f*t); sq=2...
How do I plot three waves (sin, triangle, and square) with a Vp-p of 4V and the function generator set at 1KHz
If its MATLAB you want to plot it in, f=1000; t=0:0.00001:0.002; s=2*sin(2*pi*f*t); tr=2*sawtooth(2*pi*f*t); sq=2...
7年以上 前 | 0


