First
|
Prev |
Next
|
Last
Pages: 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937
Centre y to x==0 in plot Hi, I want to modify how my plot looks in Matlab. Take for instance, if I plot x=[-1 :1] and y=[0:1], the y axis is at -1 of x. is there a way to make the y-axis rest in the middle of the x-axis? I.e at x=0. Thanks. ... 15 Apr 2010 12:30
Grouped barplot with two axes Hello Everybody I have the following code: e1=[10 30 40] e2=[20 30 40] y=[10 200 ; 20 300; 30 300] f1 = @(x, y) bar(x, y,'group'); f2 = @(x, y) bar(x, y,'group'); [AX,H1,H2]=plotyy(1:length(y(:,1)),y,1:length(y(:,1)),y,f1) get([AX(1) AX(2)],'xtick') hold on plotyy(y(:,1),e1,y(:,2),e2,'errorbar') I have... 23 Apr 2010 20:59
Multiplication of multidimensional arrays and computation speed Hello, I have a question. I need to get an elementwise product of two 1000 x 7 x 2 x 80 arrays. What would you recommend me to do (regarding computation time): just directly use .* between these two arrays or set up two for-cycles so to limit elementwise multiplication .* to only matrix elementwise operations (for ... 15 Apr 2010 12:30
unmatched rows in two matrices Hi, I have matrix "A "and Matrix" B" where all the rows of" B "are in A. there are 200 columns in each of the matrices. I want to find which rows of "A" are not in "B". Is there a simple function to extract the unmatched rows? Regards ... 15 Apr 2010 10:15
save .dat data Can someone explain me how I can save .mat data in particular folder. save test.dat mass -ASCII -append i want to save in folder name "Figures". ... 15 Apr 2010 10:15
polar stereographic plot How can I make a contour plot with polar stereographic projection in Matlab? ... 15 Apr 2010 10:15
Safe file mutex without race condition Dear Newsgroup! Is there a method to create a safe file mutex in Matlab? My problem: 1. Several Matlab sessions are working from different computers on the same file pool on a network drive. 2. All programs add a short comment to a single log file. I want to avoid conflicts between the sessions, e.g. let a... 17 Apr 2010 18:32
Have a question alike to 'sumif' in excel I have a question alike to 'sumif' in excel formula but want to have a little bit command more than that which is : a=[’kitty’ 1;’car’ 2;’yoka’ 10] b=[‘kitty’ ‘happy’;’dog’ ‘sad’;’car’ ’broken’] c=[127 12; 1... 15 Apr 2010 10:15
Simulink: Dynamically changing TF, how ? Here is part of my model (not real, just created to show my problem): http://i42.tinypic.com/2ed6vd4.jpg I want to control ‘A’ variable, but with ‘A’ changing I would like to change Tmg (in Transfer Fcn) dynamically, for eg. Tmg=2*A. How to do that ? I wanted to use Data Store Write/Read... 15 Apr 2010 09:09
Filter circuits I have the following code for a feedforward filter circuit clear all x = 1; a=[0.1;0.4;0.3] for n=2:length (a); y(n)=a(1)*x*(n)+ a(2)*x*(n-1)+ a(3)*x*(n-2) end plot(y) Could someone let me know if this is correct. The question for the code is below. I am unsure about "Your circuit should accept any si... 15 Apr 2010 09:09 |