photo

David


Last seen: 6 months ago Active since 2012

Followers: 0   Following: 0

Message

Statistics

All
  • First Review
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Feeds

View by

Question


Simulink simulation of multiple clock domains
I am trying to simulate devices with different clock domains over a relatively long period, but attempting to minimise the amoun...

7 years ago | 0 answers | 0

0

answers

Answered
How to activate a toggle/pushbutton as long as the mouse button is pressed, and deactivate it when released ?
The button object itself should have the buttonUp/butttonDown functions. You should be able to register your callbacks with each...

9 years ago | 0

Answered
why is the magnitude of a window 1?
I assume that you are talking about windowing functions for filtering. I believe that it is so that you don't alter the analysed...

13 years ago | 0

| accepted

Answered
Error with parfor loop
Have you tried pre-allocating "data"? e.g. data = struct('bidPrice',cell(1,5));

13 years ago | 0

Answered
How to use one conditions's result in to another condition?
You can also use exist(a,'var') to check if a variable exists in the current workspace

13 years ago | 0

Answered
Help to build the logic to plot peak vs time
i is an imaginary number by default causing your error. Wrap your code in a for loop for ii=1:length(y) ...

13 years ago | 0

| accepted

Answered
i want to read only non zero numerical from the matrix
To get the non-zero elements a(a~=0) Be careful with the comparison of floats/doubles (some zeros may just be very ver...

13 years ago | 0

| accepted

Answered
Undefined function or method 'plus' for input arguments of type 'cell'.
Should the lines A = set(handles.FirstPopup,'value'); not read A = get(handles.FirstPopup,'value');

13 years ago | 1

Answered
Execute callback between different GUIs
Sorry misread what you want. Try making the callback function a separate function in its own m-script and then ensure that you p...

13 years ago | 1

Answered
Reading in data and plotting the sunrise/sunset time of different dates against the time.
Look at datetick(tickaxis) this will reformat your datenum into which every date format you like on your axis

13 years ago | 0

Answered
Reading in data and plotting the sunrise/sunset time of different dates against the time.
This should work datenum([num2str(aa(:,2)) repmat(':',size(aa(:,2))) num2str(aa(:,3))],'HH:MM')

13 years ago | 0

Answered
Execute callback between different GUIs
Pass the handle to gui A into the init of gui B and then check the status of A in B. e.g. h = guiA; guiB(h); in the gui...

13 years ago | 1