Feeds
提问
Do the index notation allowed in subs command..If not, what is the alternative... Plz debug the following program.
clc clear all syms x1 x2 conv=0.001; g(2)=x1^3+x2^3-18 mux1=input('enter mean of x1') mux2=input('enter mean of x2') sd...
12 years 前 | 0 个回答 | 0
0
个回答提问
how to use indexing in subs command? Here is the program i am trying..i want to have mu for each iteration which is a function of a,b,c which depend on iteration...I have listed the errors cropped up.
clc clear all for i=1:4 syms a b c i; g=a+b-c; a(i)=1+i; b(i)=2+i; c(i)=3+i; mu(i)=subs(g,{a,b,...
12 years 前 | 1 个回答 | 0