Beantwortet
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 ...

mehr als 11 Jahre vor | 0

Frage


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...

mehr als 11 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


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-...

mehr als 11 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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....

fast 12 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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...

fast 12 Jahre vor | 0

Frage


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...

etwa 12 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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...

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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...

etwa 13 Jahre vor | 0

Frage


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 ...

etwa 13 Jahre vor | 2 Antworten | 0

2

Antworten