Statistica
54 Domande
0 Risposte
RANK
22.827
of 295.849
REPUTAZIONE
2
CONTRIBUTI
54 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
51.85%
VOTI RICEVUTI
1
RANK
of 154.677
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
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...
oltre 6 anni fa | 0 risposte | 0
0
risposteDomanda
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...
quasi 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
quasi 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
quasi 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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 ...
circa 7 anni fa | 2 risposte | 0
2
risposteDomanda
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...
circa 7 anni fa | 0 risposte | 0
0
risposteDomanda
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...
circa 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
circa 7 anni fa | 3 risposte | 0
3
risposteDomanda
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 =...
circa 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
circa 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
circa 7 anni fa | 2 risposte | 1
2
risposteDomanda
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...
circa 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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 ...
oltre 7 anni fa | 2 risposte | 0
2
risposteDomanda
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...
oltre 7 anni fa | 3 risposte | 0
3
risposteDomanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
"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...
oltre 7 anni fa | 2 risposte | 0
2
risposteDomanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 7 anni fa | 2 risposte | 0
2
risposteDomanda
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 ...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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 ...
oltre 7 anni fa | 2 risposte | 0
2
risposteDomanda
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...
oltre 7 anni fa | 2 risposte | 0
2
risposteDomanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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 ...
oltre 7 anni fa | 1 risposta | 0
1
rispostaDomanda
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 ...
oltre 7 anni fa | 1 risposta | 0