Community Profile

photo

LEP


Active since 2015

Followers: 0   Following: 0

Message

Statistics

Feeds

View by

Question


How to use inputdlg with plotting a bouncing ball?
I am trying to write a script that shows a ball bouncing around in a figure window. I have done it without using the inputdlg wi...

9 years ago | 1 answer | 0

1

answer

Question


How to shift just the outer loop in an array?
The script should assume an m-by-n array A (m, n >= 2) is assigned in the Command Window. The value mover should also be assigne...

9 years ago | 1 answer | 0

1

answer

Question


Finding the closest number to the average in an array
The script should assume a vector A is assigned in the command window. The script should create a scalar x where x is the number...

9 years ago | 1 answer | 0

1

answer

Question


How to calculate product of the odd positions and the sum of the even positions?
Question: The script should assume vec_in is specified at the command line. The script should multiply the values at the odd l...

9 years ago | 1 answer | 0

1

answer