First  |  Prev |  Next  |  Last
Pages: 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383
polar plotting two lines
I have two sets of data that are being plotted using matlab's polar function. They are: theta1= rho1= 10 1 20 2 30 3 40 4 and theta2= rho2= 50 5 60 6 70 7 80 8 I have tried a few others but this code seems the most logical: polar(theta1, rho1, 'k'); polar(theta2, rho2, [0 1 0]); This is supposed... 29 Jun 2010 11:50
Zero Crossing in S-Functions
hey guys, i have one problem concerning my continuous s-function: i have a counter, comparing its value with a duty cycle. the current counter value is calculated by a gradient and the current time value. after the counter reaches a special value it turns zero. To have this crossing in my simulation results i want t... 29 Jun 2010 10:44
Listbox Values
Hello all, I've been working on a gui with GUIDE that extracts data from an excel sheet and places it into a cell array. The listbox then updates its contents based upon what item the user selects. The default value for listboxes is >1<, so the function skips the first array that I need to appear in the listbox and... 29 Jun 2010 10:44
Quick Histogram Question
Hi, I have two data sets, of two different lengths (which makes this difficult), which I would like to make a histogram of (using the same bin size and min max). When I go to make a histogram of both of these, I have tried using a hold command: hold on hist(z2,bins) i = findobj(gca,'Type','patch'); set(i,'Face... 19 Jul 2010 14:39
make GUI callback function return a vaule
Hi, Im making a GUI with a dropdown menu to select a data file, then using buttons to run some calculations on that data. The problem is that the button callbacks can't find the variable set in the menu callback. My menu callback is defined with: function popup_menu_Callback(source,eventdata) str = get(sou... 29 Jun 2010 10:44
Deriving mean of each row in a matrix, disregarding zeros
Hi everyone, Suppose I have A = [1 2 3 0 0 0; 0 3 0 5 0 0] What command lets me get B = [2;4] which is the mean of each row in A, disregarding zeros? Regards, Ulrik. ... 29 Jun 2010 10:44
Regarding reading data from excel sheet
"Neha " <smile_neha16(a)yahoo.co.in> wrote in message <i0as0g$8sc$1(a)fred.mathworks.com>... "Faraz Afzal" <farazafzal(a)gmail.com> wrote in message <i0an6u$j67$1(a)fred.mathworks.com>... "Neha " <smile_neha16(a)yahoo.co.in> wrote in message <i0a8il$ois$1(a)fred.mathworks.com>... "Faraz Afzal" <farazafzal(a)gmail.com>... 29 Jun 2010 09:37
How to close m-file with code
Is there a keyword to close a m-file, just like close all to close all figure files? Thanks Gauri ... 29 Jun 2010 10:44
creation / delete buttons
"Audric " <audricdebaisieux(a)gmail.com> wrote in message news:i0cq42$lu7$1(a)fred.mathworks.com... Hi, I am Audric and I use Matlab 2010a. I face a problem when implementing my Matlab GUI. In some callbacks I delete buttons and replace them by others. The problem is that my structure h is updated i... 29 Jun 2010 11:50
Generalized data distribution
I have a set of data (latitude, longitude and sediment mean diameter) that I am looking to "generalize." The data is scattered and what I am looking to do is create an evenly spaced data set while interpolating the mean diameter observations. What would my best option be for doing this? Thanks for the help. ... 29 Jun 2010 09:37
First  |  Prev |  Next  |  Last
Pages: 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383