Feeds
質問
Matlap plot- linspec features
plot(x,y,'-', 'color', cmap(jj,:)); Is there any way I can have matlab plot the data first and the use the linespec '-'?
7年以上 前 | 1 件の回答 | 0
1
回答質問
looping over structure fields
Structure=struct('Aww',struct('y',[],'yes',[],'x',[],'no',[]) fn=fieldnames(Structure.Aww) for k=1:numel(fn) tmp = Stru...
7年以上 前 | 1 件の回答 | 0
1
回答質問
Looping over inputs provided by structure
the Structure Setup AppleDataGreen = struct('taste','Sour', 'color','Bright') AppleDataRed = struct('taste','Sweet', '...
7年以上 前 | 1 件の回答 | 0
1
回答質問
Function to calculate two different output variables
So originally I started with a code like this: apples=sweet(core,hot,chicken) pie=crust(taste,bake,rim) apples.outside=...
8年弱 前 | 0 件の回答 | 0
0
回答質問
mark points on graph
~do calculations x=ddata; y = edata; handles=guidata(hObject); [X,Y] = peaks; surf(X,Y); xlim([-inf inf]); ...
8年弱 前 | 1 件の回答 | 0
1
回答質問
Saving data from loop
while(run<time) if(run > time) break end ~do calculations~ z=[]; pie= crust*apple; z=[pie]; ...
8年弱 前 | 1 件の回答 | 0
1
回答質問
How do I get specific points to show up on plot?
`First I plot the data given on a graph (xy) `Every 8hrs (runs in a while loop doing a calculation) I need the graph to plot th...
8年弱 前 | 1 件の回答 | 0
1
回答質問
Find value in matrix that matches calculation
First my code does a calculation and sets it equal to ash. I then need matlab to find all of the values that match ash in col...
8年以上 前 | 1 件の回答 | 0
1
回答回答済み
Displaying message in static text box
Got it if(val==2) set(handles.text29,'String', Direct) & set(handles.text27,'String', Directt); end I just used ...
Displaying message in static text box
Got it if(val==2) set(handles.text29,'String', Direct) & set(handles.text27,'String', Directt); end I just used ...
8年以上 前 | 0
| 採用済み
質問
Displaying message in static text box
I have duration and distance. I want to place duration in one static box so that I can call it from a push button to do a cal...
8年以上 前 | 1 件の回答 | 0
1
回答質問
Placing value in gui static text
Struct contents reference from a non-struct array object. I built a gui to do a calculation when I press the start push butto...
8年以上 前 | 1 件の回答 | 0
1
回答質問
Add a zero row or help multiply these matrixes
When you take the difference of a column you are short one row. I would like to add a zero to the beginning of this output. I w...
8年以上 前 | 1 件の回答 | 0
1
回答質問
Matlab takes in wrong data in command window
[fname, pname] = uigetfile('*.csv'); %ask for file filename= fullfile(pname, fname); %file as string assert(exis...
8年以上 前 | 1 件の回答 | 0
