Community Profile

photo

David Meixell


Last seen: 1 year ago Active since 2020

Followers: 0   Following: 0

Statistics

All
  • Thankful Level 2
  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Question


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...

3 years ago | 1 answer | 0

1

answer

Question


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...

3 years ago | 1 answer | 0

1

answer

Solved


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

3 years ago

Question


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 ...

3 years ago | 0 answers | 0

0

answers

Question


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...

3 years ago | 1 answer | 0

1

answer

Solved


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]

3 years ago

Solved


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...

3 years ago

Solved


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...

3 years ago

Solved


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...

3 years ago

Solved


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

3 years ago

Solved


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.

3 years ago

Solved


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 ...

3 years ago

Solved


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

3 years ago

Solved


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...

3 years ago

Solved


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...

3 years ago

Solved


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:...

3 years ago