photo

David Meixell


Last seen: oltre un anno fa Attivo dal 2020

Followers: 0   Following: 0

Statistica

All
  • Thankful Level 2
  • Thankful Level 1
  • Solver

Visualizza badge

Feeds

Visto da

Domanda


Plotting zero vectors in quiver3
I'm trying to plot the curl of the function v = -y + x + 0. This comes to (0,0,2), but I get an error stating the variables must...

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


Function not returning the desired structure
When testing my function to build a structure based on a .dat file, the output shows the desired struct 'kepler' but seems to ov...

circa 4 anni fa | 1 risposta | 0

1

risposta

Risolto


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

circa 4 anni fa

Domanda


Taylor Series Approximation for Cosine
For the following code to solve the taylor series approximation for cosine, I'm not getting the expected value for pi/2. Nor is ...

circa 4 anni fa | 0 risposte | 0

0

risposte

Domanda


How can I vectorize this plot?
It would be pretty easy to use a For loop here, but the requirement is the answer be vectorized, avoiding the use of a loop. I'm...

circa 4 anni fa | 1 risposta | 0

1

risposta

Risolto


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

circa 4 anni fa

Risolto


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

circa 4 anni fa

Risolto


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

circa 4 anni fa

Risolto


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

circa 4 anni fa

Risolto


Return area of square
Side of square=input=a Area=output=b

circa 4 anni fa

Risolto


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

circa 4 anni fa

Risolto


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

circa 4 anni fa

Risolto


Add two numbers
Given a and b, return the sum a+b in c.

circa 4 anni fa

Risolto


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

oltre 4 anni fa

Risolto


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

oltre 4 anni fa

Risolto


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

oltre 4 anni fa