photo

viswanath


Active since 2013

Followers: 0   Following: 0

Message

Statistics

Feeds

View by

Question


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...

bijna 12 jaar ago | 0 answers | 0

0

answers

Question


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,...

bijna 12 jaar ago | 1 answer | 0

1

answer