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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 1 answer | 0

1

answer

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

5 years ago | 1 answer | 0

1

answer

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

5 years ago | 1 answer | 0

1

answer

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

5 years ago | 2 answers | 0

2

answers

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

5 years ago | 1 answer | 0

1

answer

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

5 years ago | 1 answer | 0

1

answer

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

5 years ago | 1 answer | 0

1

answer

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

5 years ago | 1 answer | 0

1

answer

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

5 years ago | 2 answers | 0

2

answers

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

6 years ago | 1 answer | 0

1

answer