Programming Languages:
MATLAB, HTML
Spoken Languages:
English
MATLAB, HTML
Spoken Languages:
English
Feeds
已回答
plotting a polynomial function
%solve1 fplot(@(x)89.9659+0.1110371.*x-0.001472155.*x.^2+1.1E-5.*x.^3-4.381E-8.*x.^4+1E-10.*x.^5)
plotting a polynomial function
%solve1 fplot(@(x)89.9659+0.1110371.*x-0.001472155.*x.^2+1.1E-5.*x.^3-4.381E-8.*x.^4+1E-10.*x.^5)
1 year 前 | 0
已回答
1x10 matrix using a single while loop
OP was asking for one liner. Here is the shorter verion, it worked on my PC. n=10;A=[];k=1;while k <=n,A=cat(2,A,k),k=k+1;end
1x10 matrix using a single while loop
OP was asking for one liner. Here is the shorter verion, it worked on my PC. n=10;A=[];k=1;while k <=n,A=cat(2,A,k),k=k+1;end
4 years 前 | 0
已回答
1x10 matrix using a single while loop
n=10;A =zeros(1,n);k=1; while k <=n A(k)=k k=k+1; end
1x10 matrix using a single while loop
n=10;A =zeros(1,n);k=1; while k <=n A(k)=k k=k+1; end
4 years 前 | 0
| 已接受