답변 있음
Add new column a vector.
x = [0 0 2 2 1 0 0 2 0]'; y = [43 43 34 34 34 0 0 0 0]'; % Must be of same length You could either cat(2, x, y) ...

거의 12년 전 | 1

답변 있음
My global variables are disappearing!
You could utilize e.g setappdata(handles.gui_element, 'stored_var', data_var) ... data_var = getappdata(handles.gui_e...

거의 12년 전 | 0

| 수락됨

답변 있음
How can I run a .m-file with an endless loop and use the command window at the same time?
A not-so-pretty solution would be to include a pause(0.001) at the end of each loop. I use it to allow my GUI to render some tex...

거의 12년 전 | 0

답변 있음
grid on in gui
axes_handle = axes(n) plot(x, y) grid(axes_handle, 'on')

거의 12년 전 | 1

| 수락됨

질문


Cheapest path through populated matrix
I'm attempting to calculate an "optimal" (if possible) path through a data set matrix (position over time). Each "cell" has a co...

거의 12년 전 | 답변 수: 0 | 0

0

답변

문제를 풀었습니다


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

거의 12년 전

질문


Create a struct inside a cell array
I'm using struct2xml from FileExhange and it's quite picky on the format of the structure to export. Basically I loose informati...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


Targetinstaller not working on Mac OS X
I just installed Matlab R2012a on my OS X Lion machine. When I start up targetinstaller, I get to choose between installing from...

거의 12년 전 | 답변 수: 1 | 0

1

답변