![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 year 前 | 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 year 前 | 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 year 前 | 0