Feeds
提问
My for loop gives an error
alpha=sym('alpha',[1 6]) theta=sym('theta',[1 6]) d=sym('d',[1 6]) a=sym('a',[1 6]) A=sym('A',[1 6]) for S=[1 2 3 4 5 6] A...
7 years 前 | 1 个回答 | 0
1
个回答提问
write a program that creates two vectors from x—one (call it P) that contains the positive elements of x, and a second (call it N) that contains negative. I cant create the arrays
clear all clc for x=[-3.5 -5 6.2 11 0 8.1 -9 0 3 -1 3 2.5] if x>0 P=x elseif x<0 ...
8 years 前 | 2 个回答 | 0
