Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Resuelto


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

casi 7 años hace

Respondida
I can't understand a piece of code
It looks like P is a matrix that stores the x and y coordinates of the snake contour at N different points. The matrix has N row...

casi 7 años hace | 1

| aceptada

Respondida
Help trying to create a Bean Machine Random Walk script
I see a few thing wrong with you're code. The first thing that sticks out to me is the line: if y(n+1,M) ~= -100 || x(n+1,M)...

casi 7 años hace | 2

Respondida
How to limit Simulink PID block output for P, I, D seperatly?
Instead of using the PID block in Simlunk, try building the PID controller yourself, since you'll have more flexibility in the w...

casi 7 años hace | 0

Respondida
Modify an input trajectory in simulink
I think this may help you. Here's a Simulink model for a custom stair input: <</matlabcentral/answers/uploaded_files/86147/st...

casi 7 años hace | 0

| aceptada

Respondida
How to display matrix as an image ?
Try using: image(A) That will display the image like a heatmap with each entry being a square. If you want to specify the...

casi 7 años hace | 0

Enviada


GRABIT - POLYFIT
Grab data off an image with the ability to fit a polynomial over the selected data points.

casi 7 años hace | 6 descargas |

Enviada


SISO PID Tuner
GUI to change the PID gains for a SISO lienar system and see common plots for analysis.

casi 7 años hace | 6 descargas |

Thumbnail