Feeds
提问
Increase nonzero values without deleting zeros
I have a vector X. X=[0 0 0 0 1 1 1 1 0 0 0 0 0 0 2 2 2 2 2 2 0 0 0 3 3 3 3 0 0 0 0 0 4 4 4] I want to increase the valu...
8 years 前 | 2 个回答 | 0
2
个回答提问
How to delete previous points while plotting?
I am plotting live data, for the plotting, I am using the line function, which improved the plotting performance a lot compared ...
9 years 前 | 0 个回答 | 0
0
个回答提问
How to use a timer to increase the value of a variable?
I want to increase the value of handles.i by one after each iteration but this should happen after a certain amount of time. Usi...
9 years 前 | 1 个回答 | 0
1
个回答已回答
How to pause just one function, while others keep running?
I got around it using the timer function t = timer('TimerFcn',@(x,y)imshow('IMAGE'),'StartDelay',3); start(t...
How to pause just one function, while others keep running?
I got around it using the timer function t = timer('TimerFcn',@(x,y)imshow('IMAGE'),'StartDelay',3); start(t...
9 years 前 | 1
| 已接受
提问
How to pause just one function, while others keep running?
I have a GUI with two plots, one is controlled by a button, that when it is pressed it shows an image for a certain amount of ti...
9 years 前 | 3 个回答 | 1
3
个回答提问
Save each column of a matrix in a seperate .csv file
I was wondering how to write this code in a more elegant way. Basically, I want to save each column of the sample matrix in a se...
9 years 前 | 1 个回答 | 0
1
个回答提问
Matrix calculation, sum of two rows in each column
I have a matrix d and I want to calculate for every column the sum of each to numbers. The Result should be the result matrix ...
9 years 前 | 1 个回答 | 0
1
个回答提问
How to circumvent this error: Subscript indices must either be real positive integers or logicals.
Assume I have such a vector data=[2 4 5 6 8 3 5 6 7 8 9 …] I want to set this condition (in addition to other conditions com...
9 years 前 | 1 个回答 | 0
1
个回答提问
Change image automatically in a GUI after a certain time
I am working with GUIDE on MATLAB to create a GUI I have inserted an image in the GUI using an axes field and the imshow func...
9 years 前 | 1 个回答 | 0
1
个回答提问
Communication problems to an Arduino Board
I am working on MATLAB to communicate with an Arduino. The code is very simple. I am sending an A to the Board, and want to read...
9 years 前 | 0 个回答 | 0
0
个回答提问
Guide: How to save popup menu value in a text file
Hey, I have a popup menu with two options (m , f) Now I want to save the chosen option of the user in a text file when pressed ...
9 years 前 | 1 个回答 | 0
1
个回答提问
Compare all elements of a vector against each other
I have a vector that includes some values v=[2.4 3.5 7.4 3.6 4.5] each value is the mean value of a row in a matrix call...
9 years 前 | 2 个回答 | 0
2
个回答提问
Why does Simulink generate a sine wave as a triangle wave?
Hey community, i am new to Simulink. I wanted to generate a sine wave : sin(15*2*pi*t). But I always get a triangle wave even th...
10 years 前 | 1 个回答 | 0

