Question


Scanning signal/Storing anything other then zeros
Hi I have a filtered signal where the base line is zero that looks in principle like this: [0 0 0 -1 2 -2 0 0 0 2 1 -1 0 0 0 2...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Smoothing signals with windows
Hi, I need to write a code to smooth out my estimated power spectral density. This is what i got so far Simulating white noise ...

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


Creating a function with varying numbers of input parameters
Hi I am writing a function to plot data for me in different ways. I would like to decide in which way to plot the data when i c...

environ 5 ans il y a | 1 réponse | 0

1

réponse

Question


Plot vertical lines from a point to x-axis
I would like to plot veritcal lines in the xy-plane, from a given point down to the x-axis. I have looked around, but I can fin...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


Find row(s) of 3x3 matrix where the 1st and 2nd column equals a value
Hi I have a 3x3 matrix, and i would like to find the rows where the 1st and 2nd columns equals a value. M=[1 2 3 1 1 3 ...

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


Find and summarize values in matrix WITHOUT loop
Let's say that I have a matrix M=[1 2;1 1], and I need to find all the 1:s in each culumn, and then summerize them in a vector a...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Question


Assigning names to values in vector
I would like to keep track on my vectors and need to assign a name to each entry. For example: xN=[2 1]=[x1 x2], or something l...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


Assigning a symbolic value in a vector
I have a vector with symbolic variables, x=[x1 x2]. Now I need to assign alues to these variables, not to the positions in the m...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


Keeping track of variables
In short, i've written a script that moves around colums in matricies and vectors. Now I need to be able to keep track of it all...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


Assigning a special character to a value
Is it possible to assign a special charachter to a value? Something like: â=inv(A)*a. Thanks in advance

environ 6 ans il y a | 2 réponses | 0

2

réponses

Question


Can't use functions like sin(s) with transfer function/nyquist
I'm trying to evaluate describing functions by plotting them with the nyquist command but it's not possible when a function like...

plus de 6 ans il y a | 1 réponse | 0

1

réponse