Prev: Estimating costs due to memory allocation in FFT
Next: 180 degree conduction mode of an BLDC machine
From: Elisa Bulla on 2 Jul 2010 07:41 Hi, I am italian...sorry my English language ;) I have a transfer function G (s) = 3b / ((s ^ 2 +2 * s +3) (s +1) (s ^ 2 + s + a * b)) with 0<a<200 and 0<b<200 I must calculate the singular values and then I must set s=sigma1-sigma2+sigma3-sigma4+sigma5. I must use the command "imagesc" to graph results. My problem is using this command imagesc..I don't knows how to do...help me please.
From: darthshak on 2 Jul 2010 04:04
> Hi, I am italian...sorry my English language ;) > I have a transfer function G (s) = 3b / ((s ^ 2 +2 * > s +3) (s +1) (s ^ 2 + s + a * b)) with 0<a<200 and > 0<b<200 > I must calculate the singular values and then I must > set s=sigma1-sigma2+sigma3-sigma4+sigma5. I must use > the command "imagesc" to graph results. > What are sigma1...sigma5? Could you be more specific? > My problem is using this command imagesc..I don't > knows how to do...help me please. The command "doc imagesc" (without the quotes) will give you information on using the imagesc command. Roughly, if you have a matrix X, with the X-axis data varying from x0 to x1 (x0 < x1) and Y-axis data varying from y0 to y1 (y0 < y1), you could try to execute the following : imagesc( X,'Xdata', linspace(x0,x1,size(X,2)), 'YData', linspace(y0,y1,size(X,1)) ) Hope that helps |