Feeds
답변 있음
Filling a region in the complex plane in Matlab
Maybe something like this: f1=@(x,y) (1+x+x.^2-y.^2).^2+(y+2.*x.*y).^2-1; V = fimplicit(f1); hold on axis([-1.5 0.5 -1.5 1.5...
Filling a region in the complex plane in Matlab
Maybe something like this: f1=@(x,y) (1+x+x.^2-y.^2).^2+(y+2.*x.*y).^2-1; V = fimplicit(f1); hold on axis([-1.5 0.5 -1.5 1.5...
거의 4년 전 | 0
답변 있음
how to skip the index of array
Maybe something like this: A = [1,2,1,2,4]; for i=1:length(A) B=1:6; B(A(i))=[]; disp(B); e...
how to skip the index of array
Maybe something like this: A = [1,2,1,2,4]; for i=1:length(A) B=1:6; B(A(i))=[]; disp(B); e...
4년 초과 전 | 0
답변 있음
removing specific values in a cell array
Maybe something like this A = {1:10,1:10}; A{1}(A{1}<3|A{1}>8) = []; A{2}(A{2}<3|A{2}>8) = []; Naturally, it would be tediou...
removing specific values in a cell array
Maybe something like this A = {1:10,1:10}; A{1}(A{1}<3|A{1}>8) = []; A{2}(A{2}<3|A{2}>8) = []; Naturally, it would be tediou...
4년 초과 전 | 1
답변 있음
How to move files from current folder to workspace automatically?
You can do this using structures and the dir function. The following code could help. filesDIR = dir; c = 0; for i=1:length(...
How to move files from current folder to workspace automatically?
You can do this using structures and the dir function. The following code could help. filesDIR = dir; c = 0; for i=1:length(...
4년 초과 전 | 0
| 수락됨
답변 있음
how to generate new matrix with if statment
Maybe like this? test = [5;6;0;-1;0;5;0;6;0;8]+2; test5 = [2;6;8;-1;0;7;8;6;8;8]; if ismember(0,test) Matrix3 = 0; e...
how to generate new matrix with if statment
Maybe like this? test = [5;6;0;-1;0;5;0;6;0;8]+2; test5 = [2;6;8;-1;0;7;8;6;8;8]; if ismember(0,test) Matrix3 = 0; e...
4년 초과 전 | 0
| 수락됨
질문
Problem using the FIND function to identify the position of a negative decimal number.
Hello. I need to find the position of a negative decimal number in a vector. The code I've used is as follows: a = -2:0.05:0; ...
4년 초과 전 | 답변 수: 2 | 0