Pregunta


Is there a way to use fmincon without function handles?
I want to use fmincon as part of an optimization study but I have that inside a MonteCarlo simulation. Using function handles in...

alrededor de 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Error using function handles in for loop
I have a function, pi_t, which is defined using a function handle but also is a function i in the for loop. When I try to incorp...

alrededor de 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta


function handles for multiple equations
I have a very simple question that I can't seem to find the answer to. I have a defined equation, P, which has a function handle...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Return values for specific set of indices
I am trying to find values in a matrix for specific indices. I have a 180x180 matrix, N, and have a range of dx and dy values. H...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Search specific layer of multidimensional matrix for range of values?
I have a layered matrix (3 layers) seen below and what I want to do is search for a range of values in the 2nd layer and then th...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


find min value of 1st layer of a multidimensional matrix
I want to find the min value of the 1st layer in an n layer matrix and I want to get the indices too. I tried messing around wit...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


adding a matrix layer to an already existing matrix
I want to add a layer to my 180x180 matrix, seen below. N is where I define the actual matrix in the code. I want to add a layer...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


solve systems of linear equation in for loop
I want to solve a system of 3 equations, all of which are in a for loop. Is there any way to solve for [dx, dy, dt] 180 times an...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Solving the same equations give different values
I am solving a few 3D physics motion equations. For the first function (Landing_Physics3D), I am solving for time, xf, and yf. I...

más de 7 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Error iterating with fractions
I want to do something pretty simple but am not sure how to do because I can't iterate using fractions. What I want is to solve ...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Iterate over specified dimensions in a matrix to find minimum value
I have a 180x180 matrix of random integers. What I want is to scan the rows and columns and find the cell with the minimum valu...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to replicate a matlab procedure
I currently have a matlab monte carlo simulation that includes multiple for loops. What I want to do is execute the exact same c...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


error when using min function
I have a 180x180 matrix of random integers and I am simply trying to find the smallest element but everytime I run the code it s...

más de 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta


how to split a large matrix into smaller matrices and assign random values
I have a 180x180 matrix of 0's and I was to assign different range of random integers to each 45x45 set in the matrix. I have sh...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to fill a matrix in a specific way
I have a 5x5 matrix of 0's defined as P below. What I want to do is fill it out to become the commented out matrix also seen bel...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to have matrix values as a function of another variable
I have a matrix P (defined below) that has some values (h and u) that are a function of a variable t. t have values ranging from...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to iteratively multiply a vector by a matrix iteratively
I want to multiply an initial vector p_t0 by a matrix P. The vector and matrix are specified below. If I simply do p = p_t0*P I ...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Why am I getting an unbalanced parenthesis error?
I am getting an error in line 8 of my code "if (~strcmp(a[:], ' '))" saying "Unbalanced or unexpected parenthesis or bracket." W...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to read Landscan Data in Matlab
Does anyone know how to read LandScan population data into matlab? There is not much documentation on this. Any help at all woul...

más de 7 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Raspberry pi 3 no longer boots from sd after downloading matlab support package
I installed the NOOBS package onto a blank sd card and put it into the raspberry pi and installed the software and set up the ra...

más de 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta


NAVIO 2 compatibility with matalb/simulink
I just got a NAVIO 2 autopilot to run with my raspberry pi 3 but I cannot seem to find any information whatsoever about how to u...

más de 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Gyroscope and accelerometer for raspberry pi 3 and matlab
I am looking for a gyroscope and accelerometer (preferably an all in one) that will interface easily with raspberry pi and is ea...

más de 7 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Where can I find a helpful link or extensive manual for how to use Simulink and/or matlab with Raspberry Pi 3?
I have found a few links on how to use simulink and matlab with raspberry pi but they are all extremely basic and most focus on ...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Solving a third order and second order differential equation
I am first trying to solve the third order ODE 2*d^3f/dn^3+f*d^2f/dn^2=0, where f=S/(u*sqrt(a*x/u)), n=y*sqrt(u/(a*x)), u=dS/dy,...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta