Answered

having trouble with the drag on my rocket projectile

Hi Fiona, You should not expect the MATLAB Answers community to give you an answer to your homework assignment. You may w...

having trouble with the drag on my rocket projectile

Hi Fiona, You should not expect the MATLAB Answers community to give you an answer to your homework assignment. You may w...

5 years ago | 0

Answered

How to set which variable to update in an iterative loop?

HI Valerio, My understanding is you just want to find a value of 'a_D1(z)' that makes 'c_x_av_D1' and 'c_x_av1_D1' have equal...

How to set which variable to update in an iterative loop?

HI Valerio, My understanding is you just want to find a value of 'a_D1(z)' that makes 'c_x_av_D1' and 'c_x_av1_D1' have equal...

5 years ago | 0

Answered

Error: cannot find space for target scope (R2016b)

Hi Stefano, The maximum number of target scope is 9, as stated in the <https://www.mathworks.com/help/xpc/ug/target-scope-res...

Error: cannot find space for target scope (R2016b)

Hi Stefano, The maximum number of target scope is 9, as stated in the <https://www.mathworks.com/help/xpc/ug/target-scope-res...

5 years ago | 1

| accepted

Answered

How does the intlinprog algorithm deals with unused variables in your x vector?

Hi Peter, Can you elaborate on what is your "x-vector" (is it the coefficient vector 'f', the vector of integer constraints 'in...

How does the intlinprog algorithm deals with unused variables in your x vector?

Hi Peter, Can you elaborate on what is your "x-vector" (is it the coefficient vector 'f', the vector of integer constraints 'in...

5 years ago | 0

Answered

Write a function called spiral_diag_sum that takes an odd positive integer n as an input and computes the sum of all the elements in the two diagonals of the n-by-n spiral matrix.

There are many ways to solve this coding problem. The most common way is to divide the spiral matrix into layers, find a pattern...

Write a function called spiral_diag_sum that takes an odd positive integer n as an input and computes the sum of all the elements in the two diagonals of the n-by-n spiral matrix.

There are many ways to solve this coding problem. The most common way is to divide the spiral matrix into layers, find a pattern...

5 years ago | 1

| accepted