photo

Andrew Poissant


University of Maryland

Active since 2016

Followers: 0   Following: 0

Message

None.

Statistics

  • Thankful Level 4

View badges

Feeds

View by

Question


How to change axis values when using spy command?
I have a 1515x1165 matrix of binary data, denoted as A. I also have two vectors, denoted as x and y, that contain the range of x...

6 years ago | 0 answers | 0

0

answers

Question


How to convert two 3D coordinates to Euler angles?
I have two vectors representing (lat, long, alt). I need to calculate the Euler angles (roll, pitch, yaw) required to go from ve...

6 years ago | 1 answer | 0

1

answer

Question


Use image function to create heat map and 3D plot?
I have 4 variables (X, Y, Z, W) I am trying to plot at the same time. I already have code set up to plot a heat map showing popu...

7 years ago | 1 answer | 0

1

answer

Question


How to shade area between an upper bound and lower bound curve?
I have an upper bound curve comprised of vectors xmax, ymax. I also have a lower bound curve comprised of vectors xmin, ymin. Th...

7 years ago | 1 answer | 0

1

answer

Question


Scale any angle between [0, 180] and [0,-181] degrees
How do I scale any angle that I get to be between 0 and +/-180 degrees? So lets say I have 750 degrees, I want the output to be ...

7 years ago | 2 answers | 0

2

answers

Question


Apply bus signals to a mux for use in interpreted matlab function block in simulink
I know that bus signals are not to be mixed with a mux in Simulink, but I need to import some variables from a bus used prior in...

7 years ago | 0 answers | 0

0

answers

Question


Maximum size of output not bounded in matlab function block for linspace error
I am using matlab function block in simulink and need to use linspace for use in my function. When I run the model, I get an err...

7 years ago | 1 answer | 0

1

answer

Question


Solving for unknown matrix?
I have three known matrices, and one unknown matrix that I need to solve for. The matrices are defined in the code below. The eq...

7 years ago | 3 answers | 0

3

answers

Question


How to solve for P(t) relating two sets of state variables?
I have two sets of state variables, A and Ap, and I need to solve for P(t), which relates the two. The equation to do so is Ap =...

7 years ago | 1 answer | 0

1

answer

Question


Mirror x-axis of Image but not the x-axis of the plot over top of it?
I have an image that I am plotting. The x-axis is reversed and I need to merely flip the image. I am trying to use set(gca,'xdir...

7 years ago | 1 answer | 0

1

answer

Question


How to remove repeating rows without unique function?
I have a 624x2 matrix of ordered pairs, of which there are some repeating rows that I must remove. Is there a way to remove thes...

7 years ago | 2 answers | 1

2

answers

Question


Unique function doesn't work in Simulink
I have a 624x2 matrix that needs to have repeated ordered pairs removed. The first column represents x values and the 2nd column...

7 years ago | 1 answer | 0

1

answer

Question


Remove empty sets in iteration to avoid indexing error?
I have a for loop and inside I have a find function. I am receiving a "Subscripted assignment dimension mismatch" error. After l...

7 years ago | 1 answer | 0

1

answer

Question


Return row and col of ismembertol comparisons?
I have a layered matrix, N, that is 834x834x3 and I want to scan that matrix using ismembertol to see which ordered pairs from F...

7 years ago | 1 answer | 0

1

answer

Question


Is there a way to use find function if I know there will be some empty sets?
I am using matlab's 'find' function below. I get an error saying "Subscripted assignment dimension mismatch," because there are ...

7 years ago | 2 answers | 0

2

answers

Question


Use linspace without scalar input?
I want to use linspace that goes from two non-scalar terms. Is there a way to use linspace with specified number of points, n, f...

7 years ago | 3 answers | 0

3

answers

Question


How to use arrayfun in Simulink?
I am trying to use arrayfun in Simulink but first got the error "Function 'arrayfun' is not supported for code generation. Consi...

7 years ago | 1 answer | 0

1

answer

Question


"Subscripted assignment dimension mismatch" when using "find" with a tolerance?
My code gets pretty in depth so I am not sure if posting it all would be helpful at all. Essentially I am using find with a tole...

7 years ago | 2 answers | 0

2

answers

Question


return iteration number from selected for loop value?
I have a for loop that calculates distance that a projectile travels given different acceleration values. What I want is to retu...

7 years ago | 1 answer | 0

1

answer

Question


specify rows and columns to find min value?
I have a matrix, N, and a matrix RC, and what I want is to search for a minimum value in N based on values in RC for rows and co...

7 years ago | 2 answers | 0

2

answers

Question


Find index of specific ordered pair in layered matrix
I have an ordered pair matrix, A=[x y], and a layered matrix, N, with three layers. What I want to do is search layer 2 for the ...

7 years ago | 1 answer | 0

1

answer

Question


Split a series of lines into equal parts
I have a vector of x values with each x corresponding to an endpoint of a line. Starting at 0, I want to split up each line made...

7 years ago | 1 answer | 0

1

answer

Question


Remove repeating values from vectors
I have two vectors, r and c, which have repeating patterns in them. c repeats the same number 3 times and then increases by 4, a...

7 years ago | 1 answer | 0

1

answer

Question


Find min in matrix given specific rows and columns?
I have a matrix, A, and I want to find the minimum value given specified row and column vectors, r and c. I also want to return ...

7 years ago | 2 answers | 0

2

answers

Question


Divide and expand matrix
I have a 600x600 matrix with integer values in each cell. What I want to do is expand that matrix into a 6,000x6,000 matrix. How...

7 years ago | 2 answers | 0

2

answers

Question


Save Simulink subsystem output as constant
I have a simulink system with multiple subsystems. In one subsystem, I want the output to be a constant singlular value not upda...

7 years ago | 1 answer | 0

1

answer

Question


Solve system of nonlinear equations without symbolic variables
Is there a way to solve a system of 3 nonlinear equations without symbolic variables? I showed how to solve the equations I need...

7 years ago | 1 answer | 0

1

answer

Question


Solve system of equations in simulink
I wrote a script to solve a system of 3 equations in matlab. The code can be seen below. I need to add this in simulink simulink...

7 years ago | 1 answer | 0

1

answer

Question


Series Summation With Function Handles
I am performing a Monte Caro simulation with non-linear optimization inside using fmincon. Fmincon requires the use of function ...

7 years ago | 1 answer | 0

1

answer

Question


How to use fmincon in for loop
I am trying to use fmincon in a for loop but am not sure how to incorporate function handles with the iterations required. I am ...

7 years ago | 1 answer | 0

1

answer

Load more