photo

David


Last seen: 3 maanden 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...

meer dan 7 jaar 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...

meer dan 9 jaar 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...

meer dan 12 jaar ago | 0

| accepted

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

meer dan 12 jaar 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

meer dan 12 jaar 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) ...

meer dan 12 jaar 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...

meer dan 12 jaar 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');

meer dan 12 jaar 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...

meer dan 12 jaar 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

meer dan 12 jaar 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')

meer dan 12 jaar 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...

meer dan 12 jaar ago | 1