Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 5 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 5 anni fa | 1 risposta | 0

1

risposta