MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Combination of variables with a constraint 

Subject: Combination of variables with a constraint From: Leyo Joseph Date: 4 Apr, 2012 18:08:11 Message: 1 of 12 
Hello, 
Subject: Combination of variables with a constraint From: Sargondjani Date: 4 Apr, 2012 18:51:18 Message: 2 of 12 
I would not rely on numerical methods to get 'all' results. Using calculus is probably a better idea. 
Subject: Combination of variables with a constraint From: Roger Stafford Date: 4 Apr, 2012 19:27:12 Message: 3 of 12 
"Leyo Joseph" wrote in message <jli2mb$5b6$1@newscl01ah.mathworks.com>... 
Subject: Combination of variables with a constraint From: Leyo Joseph Date: 5 Apr, 2012 00:22:37 Message: 4 of 12 
Thanks Roger. Your explanation is clear. But don't know how to convert this idea to a plot... 
Subject: Combination of variables with a constraint From: Roger Stafford Date: 5 Apr, 2012 05:18:19 Message: 5 of 12 
"Leyo Joseph" wrote in message <jliokd$sg2$1@newscl01ah.mathworks.com>... 
Subject: Combination of variables with a constraint From: Sargondjani Date: 5 Apr, 2012 05:23:18 Message: 6 of 12 
look up the help on 'plot'. the most simple way to plot is just: plot(x,y) (where the vectors x & y have to be of same length) 
Subject: Combination of variables with a constraint From: Leyo Joseph Date: 5 Apr, 2012 13:55:17 Message: 7 of 12 
"Roger Stafford" wrote in message <jlj9ur$q9m$1@newscl01ah.mathworks.com>... 
Subject: Combination of variables with a constraint From: Sargondjani Date: 5 Apr, 2012 14:47:12 Message: 8 of 12 
yes you can. you would have to redo all the alggebra substituting C instead of 0.25. 
Subject: Combination of variables with a constraint From: Leyo Joseph Date: 5 Apr, 2012 16:09:17 Message: 9 of 12 
"Sargondjani" wrote in message <jlkb9g$q66$1@newscl01ah.mathworks.com>... 
Subject: Combination of variables with a constraint From: Sargondjani Date: 5 Apr, 2012 16:44:12 Message: 10 of 12 
first about the error: if you have a dimension mismatch you should give the commands: 
Subject: Combination of variables with a constraint From: Roger Stafford Date: 5 Apr, 2012 17:07:17 Message: 11 of 12 
"Leyo Joseph" wrote in message <jlk885$dmv$1@newscl01ah.mathworks.com>... 
Subject: Combination of variables with a constraint From: Leyo Joseph Date: 5 Apr, 2012 17:43:26 Message: 12 of 12 
"Roger Stafford" wrote in message <jlkjg5$oc$1@newscl01ah.mathworks.com>... 
No tags are associated with this thread.
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.