Kholoud Baste
Followers: 0 Following: 0
Statistiche
0 Problemi
32 Soluzioni
RANK
N/A
of 289.973
REPUTAZIONE
N/A
CONTRIBUTI
0 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Risolto
Matlab Basics II - Free Fall
An object freely falling from rest under gravity covers a distance x given by: x = 1/2 gt^2 write a function that calculat...
oltre 7 anni fa
Risolto
Matlab Basics - Set unwated parts of a vector to zero
Consider a vector x, of length >= 7, write a script to set elements 2, 5, and 6 to zero. e.g. x = [1 2 3 4 5 6 7] --> x = [1 ...
oltre 7 anni fa
Risolto
Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346
oltre 7 anni fa
Risolto
Matlab Basics - y as a function of x
write a script to calculate y as a function of x, such that y = 6x^2 + 5x - 2
oltre 7 anni fa
Risolto
Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2
oltre 7 anni fa
Risolto
Building matrices
If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...
oltre 7 anni fa
Risolto
Counting down
Create a vector that counts from 450 to 200 in increments of 10.
oltre 7 anni fa
Risolto
Matlab Basics - Create a row vector
Write a Matlab script to create a row vector of 10 consecutive numbers x = [1 2 3 4 5 6 7 8 9 10]
oltre 7 anni fa
Risolto
Annual Salary
What is the annual salary of Mr. Cody if he works 40 hours a week and gets $x per hour and a yearly bonus of $2000? (Let, 50 wee...
oltre 7 anni fa
Risolto
Vector with a repeated entry
Create a row vector of length n, filled with 4's. For example, if n = 3, output = [4 4 4] Hint: Search for the function...
oltre 7 anni fa
Risolto
Corresponding letter to ASCII code.
Given the letter, the output will show the corresponding ASCII code.
oltre 7 anni fa
Risolto
If you have matrix A, create matrix B using matrix A as an "element"
A = [1 2 3 4; 5 6 7 8] B = [1 2 3 4 1 2 3 4; 5 6 ...
oltre 7 anni fa
Risolto
Write a code that will follow the equation y = x * (x + x) * x.
If x = 5, y = 5 * (5+5) * 5 = 250
oltre 7 anni fa
Risolto
Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416
oltre 7 anni fa
Risolto
Matlab Basics - Sum a vector
Write a script to add up all the elements in a vector e.g. x = [1 2 3 4] --> output = 10
oltre 7 anni fa
Risolto
Given the variable x as your input, multiply it by four, then divide it by two. Then put the result in y.
If x = 5, y = 4*5/2 = 10
oltre 7 anni fa
Risolto
ASCII Code
Using matlab, give the symbol that is associated with ASCii code 90.
oltre 7 anni fa
Risolto
ASCII code of a leter.
Given the letter, the output will show the corresponding ASCII code.
oltre 7 anni fa
Risolto
Matlab Basics - Convert a row vector to a column vector
Write a script to convert a row (e.g. x = [1 2 3]) to a column (e.g. y = [1;2;3]), your script should be able to do this for any...
oltre 7 anni fa
Risolto
ASCii Code
Using matlab, give the symbol that is associated with ASCii code 122
oltre 7 anni fa
Risolto
Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2
oltre 7 anni fa
Risolto
Complex number
For complex number c=a+bi, write code that will add a and b together.
oltre 7 anni fa
Risolto
Evaluating a polynomial
Given the following polynomial and the value for x, determine y. y = 3x^5 – x^3 + 8x – 3 Example x = 1 y = 3 - 1 +...
oltre 7 anni fa
Risolto
Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...
oltre 7 anni fa
Risolto
Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...
oltre 7 anni fa
Risolto
Remainder
Make 'y' equal to the remainder of 27 divided by 5. When x=27 and t=5
oltre 7 anni fa