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

11 years ago | 0

Question


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

11 years ago | 2 answers | 1

2

answers

Question


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

11 years ago | 1 answer | 0

1

answer

Question


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

12 years ago | 1 answer | 0

1

answer

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

12 years ago | 0

Question


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

12 years ago | 3 answers | 0

3

answers

Question


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

12 years ago | 1 answer | 0

1

answer

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

13 years ago | 0

Question


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

13 years ago | 2 answers | 0

2

answers