Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

13 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

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

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

13 years ago

Solved


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

13 years ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

13 years ago

Solved


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

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

13 years ago

Question


both real and integer variables ga optimization
How can i perform an optimization with the gamultiobj function using both real and integer variables ?

13 years ago | 2 answers | 0

2

answers

Question


how to costrain variables for ga optimization
Hello, I'm perfoming an optimization using the gamultiobj but I'm not able to force my variables to follow the inequalityies : ...

13 years ago | 1 answer | 0

1

answer

Question


help with numerical integration
I have the x and y coordinate of the points belonging to a curve and I am not able to figure out how to solve this two integrals...

13 years ago | 0 answers | 0

0

answers

Question


Closed spline fit of airfoil coordinates
Hi, I'm working on airfoil coordinates and trying to fit the data point to a single closed curve but now i need some help to ex...

13 years ago | 1 answer | 0

1

answer