![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/14392292_1545180720480_DEF.jpg)
Kavita Guddad
Followers: 0 Following: 0
Feeds
回答済み
I want to extract rows from my matrix that have a specific value in the second column.
Hope this code does your job. x=[1 2 3 5;2 3 4 5;2 1 3 4;2 1 3 2 ]; y=[]; for i=1:size(x,1) if (x(i,2)==1) y=[y...
I want to extract rows from my matrix that have a specific value in the second column.
Hope this code does your job. x=[1 2 3 5;2 3 4 5;2 1 3 4;2 1 3 2 ]; y=[]; for i=1:size(x,1) if (x(i,2)==1) y=[y...
約1年 前 | 0
| 採用済み
質問
why do we get different values by angle command
When i run this code i am getting the result as shown below clc;clear all; close all; N=input('Enter the fundamental period...
約1年 前 | 1 件の回答 | 2
1
回答回答済み
DTFT possible on Matlab?
clc;clear all;close all; x=[2 3 6 -3]; n=0:length(x)-1; w=-pi:0.01:pi; [X] = dtft(x,w); subplot(311);stem(x);title('Signal'...
DTFT possible on Matlab?
clc;clear all;close all; x=[2 3 6 -3]; n=0:length(x)-1; w=-pi:0.01:pi; [X] = dtft(x,w); subplot(311);stem(x);title('Signal'...
約1年 前 | 0