Feeds
질문
Counting the number of occurences in an array
This was my assignment: The script should roll five dice (the command randi(6, [1 5]) should prove handy) and decid...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
A Differential Equations Problem
This is the problem. I can get the plot but I don't know how to specify 1<t<3. produce a plot of the solution for y' + t^2*y ...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
Using Logic with functions
This was my assignment: function[N] = script27_firstname_lastname(M) The function should flip a fair coin until M ...
10년 초과 전 | 답변 수: 2 | 0
2
답변질문
Pulling Even numbers from an array
My assignment was to create a function where it had to count the number of even numbers in the array given and display the count...
10년 초과 전 | 답변 수: 2 | 0
2
답변질문
Using a function in ian inputdlg
This was the assignment given to me: The script should request a vector of positive integers entered as a single line in an i...
10년 초과 전 | 답변 수: 2 | 0
2
답변질문
Shifting the outer loop of an array
I was given an assignment to: The script should assume an m-by-n array A (m, n >= 2) is assigned in the Command Window. The v...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
Only Shifting the outer loop
This is the assignment I was given: he script should assume an m-by-n array A (m, n >= 2) is assigned in the Command Window. Th...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
Using a loop to make a function
This is the assignment that I was given: The script should assume vec_in is specified at the command line. The script shou...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
Making Matrices with Loops
This is the assignment I was given: Create a script called script19.m. The script should assume scalar value of n is assigned...
10년 초과 전 | 답변 수: 3 | 0
3
답변질문
Creating a matrix with specific sequence
I was given this as a homework assignment but I am not really sure where to even start. Would this be a loop creation? Nested lo...
10년 초과 전 | 답변 수: 1 | 0
1
답변질문
Average without direct commands
My assignment is to create a script where when I put a string of numbers into the command window and run the script it will calc...
10년 초과 전 | 답변 수: 2 | 0