Am studying for my Masters in Medical Physics.

Professional Interests: Medical Physics

Question

Is the really a correct way to check if a filter is an FIR filter?

I found the following function in Matlab. It checks if a filter is has FIR. It basically checks that there is only one non-zero ...

2 mesi ago | 0 answers | 0

Question

tukey, 'tukey-kramer' or both in the function multcompare

I need to correctly report the method I use for analysis. Can anyone tell what method Mathworks refers to when they use 'tukey-k...

oltre un anno ago | 0 answers | 0

Submitted

Statistical significance line

SIGLINE plots a line of statistical significance on the current axis

oltre un anno ago | 11 downloads |

Question

How to correctly specify WithinDesign for fitrm

I am trying to use matlab function fitrm. But the input 'WithinDesign' does not seem to make any sense to me. It seems as anythi...

circa 2 anni ago | 2 answers | 1

Question

So what is the alternative to Data Acquisition Toolbox in all 64bit setup?

I am a little confused and have searched all over the internet but cannot find any alternative to Data Acquisition Toolbox to en...

circa 3 anni ago | 1 answer | 0

Question

Which of these two assignments is more efficient

Please have a look at the function below and let me know which of the sections labelled (1) and (2) is more efficient. funct...

circa 3 anni ago | 2 answers | 0

Question

When best to use 1 and 2 DOF PID

I am not sure of the difference between normal single input and the 2 DOF PID controller in simulink. I noticed that the 2 DOF ...

circa 3 anni ago | 1 answer | 0

Question

PID control of steering left and right

I am a big fat newbie with Simulink control. Using a PID controller, I want to steer left and right. At the moment, I am able...

circa 3 anni ago | 0 answers | 0

Question

How to fix this crazy error?

I am getting the following error after trying to tune a model. It is crazy I cannot even run the model anymore because this erro...

circa 3 anni ago | 1 answer | 0

Question

When do we have a minimum phase

I am a DSP newbie and I am really confused after reading Chapter two of "An Introduction to Digital Signal Processing by J. ...

oltre 3 anni ago | 1 answer | 1

Answered

Using global structures in matlab functions block(Simulink)

This is infact possible

Using global structures in matlab functions block(Simulink)

This is infact possible

circa 6 anni ago | 0

| accepted

Answered

How do I run a simulink model in real-time in normal mode

Thank you Titus for your reply

How do I run a simulink model in real-time in normal mode

Thank you Titus for your reply

circa 6 anni ago | 0

Answered

Help in importing csv file

OK I was going to tell you what Simon already said. The full instructions can be found here <http://www.mathworks.co.uk/help/ma...

Help in importing csv file

OK I was going to tell you what Simon already said. The full instructions can be found here <http://www.mathworks.co.uk/help/ma...

circa 6 anni ago | 0

Answered

How can I remove some specific terms from a function?

Why don't you multiply the different part of the equation by different terms e.g Q=1, R=1, S=1, etc and the these terms to zero...

How can I remove some specific terms from a function?

Why don't you multiply the different part of the equation by different terms e.g Q=1, R=1, S=1, etc and the these terms to zero...

circa 6 anni ago | 0

Answered

Experiences with release 2012b

Users of Matlab are mostly programmers who don't give a damn about GUI, they just want to bash in codes as fast as possible. ...

Experiences with release 2012b

Users of Matlab are mostly programmers who don't give a damn about GUI, they just want to bash in codes as fast as possible. ...

oltre 6 anni ago | 1

Answered

Out of memory frustration

So after whinging at everybody about my life and how is all ruined by this 32bit computer and matlab and memory and global warmi...

Out of memory frustration

So after whinging at everybody about my life and how is all ruined by this 32bit computer and matlab and memory and global warmi...

circa 7 anni ago | 0

Question

Out of memory frustration

Matlab is so nice but How I wish it can manage physical memory properly. It does not seem to know how to track the memory it all...

circa 7 anni ago | 5 answers | 2

Question

Issue with matlab function block (Simulink)

Hi, Why does my row vectors become column vectors in matlab function block? This is causing problems in my equations because ev...

oltre 7 anni ago | 1 answer | 0

Answered

how to update image preview every frame?

I have not used the Image aquisition toolbox before. But can you not just put thus in the so called preview function just to tes...

how to update image preview every frame?

I have not used the Image aquisition toolbox before. But can you not just put thus in the so called preview function just to tes...

oltre 7 anni ago | 0

Answered

how to update image preview every frame?

what about the function 'drawnow'? See link <http://www.mathworks.co.uk/help/techdoc/ref/drawnow.html>

how to update image preview every frame?

what about the function 'drawnow'? See link <http://www.mathworks.co.uk/help/techdoc/ref/drawnow.html>

oltre 7 anni ago | 0

Question

I thought this one is interesting (Simulink)

The two functions below are basically the same but the second one includes an else statement at the end. They are functions for ...

oltre 7 anni ago | 1 answer | 0

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

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

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

oltre 7 anni ago | 2 answers | 1

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

oltre 7 anni ago | 1 answer | 0

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

oltre 7 anni ago | 1 answer | 0

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

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

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

circa 8 anni ago | 3 answers | 0

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

circa 8 anni ago | 1 answer | 0

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

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

circa 9 anni 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 ...

circa 9 anni ago | 2 answers | 0