Risposto
Create cartesian unit vectors from 2 points
This is what I think it is: d1=[2,3,6]; d0=[1,2,4]; nd=(d1-d0)./norm(d1-d0);%normalize sum(nd.^2)%test normalized ...

quasi 12 anni fa | 0

Domanda


Using global structures in matlab functions block(Simulink)
In the data store memory block, it is not possible to set your variable as a structure since structures are not primitive types...

quasi 12 anni fa | 2 risposte | 1

2

risposte

Domanda


Real-Time Synchronization dose not pause, please help
Hi everyone! I have a problem using the 'Real-Time Synchronization' block. My model is paused at certain times but the 'Real-...

quasi 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Is there any known eason why my level 2 matlab S-function runs slow
Please take a look at the following very simple level 2 matlab S-function, do you please know any reason why it should run slow....

circa 12 anni fa | 1 risposta | 0

1

risposta

Risposto
How can I find the region of Interest in Gray scal images(Medical images)?
You can use edge detectors and apply a threshold. BW = edge(I,'sobel',THRESH). Where 'I' is your intensity image, 'sobel' is the...

circa 12 anni fa | 0

Domanda


How do I run a simulink model in real-time in normal mode
I can't seem to figure out how to run a simulink model in real-time in 'Normal' mode The Mathworks guides says "In your Rea...

oltre 12 anni fa | 3 risposte | 0

3

risposte

Domanda


I don't understand the concept of sample time in simulink
I had a simulink block(a constant block=2) connected to an output port(yout). I set a 'fixed step size' of 0.2 in the 'configura...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Risposto
Matlab does wired stuff
function tf=intersect_l(dim_set,memb) % expand dim_set by 1 or a const on each side %dim_set=[67.5:10...

oltre 13 anni fa | 0

Domanda


Matlab does wired stuff
This is part of a function that is doing what i called wired. The vector 'dim_set' in this snippet should expanded on both side ...

oltre 13 anni fa | 2 risposte | 0

2

risposte