Resuelto


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

casi 10 años hace

Resuelto


ASCii Code
Using Matlab get the ASCii for '?'

casi 10 años hace

Resuelto


ASCii Code
Using matlab, give the symbol that is associated with ASCii code 122

casi 10 años hace

Resuelto


UICBioE240 2.2
Make a 3x4 matrix that contains all ones.

casi 10 años hace

Resuelto


UICBioE240 2.10
Given a vector of numbers, give the difference between the maximum and minimum values.

casi 10 años hace

Resuelto


Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

casi 10 años hace

Resuelto


Square wave average calculation
Given its peak and duty cycle, calculate avg value of square wave

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


UICBioE240 problem 1.15
Calculate: sin(pi/6) cos (pi) tan(pi/2)

casi 10 años hace

Resuelto


UICBioE240 problem 1.16
sin^2(pi/6) + cos^2(pi/6)

casi 10 años hace

Resuelto


UICBioE240 problem 1.17
In the expression (2+5i), how does MATLAB read the expressions A = 2+5i B = 2+5*i C = both are okay Write capital letter a...

casi 10 años hace

Resuelto


UICBioE240 2.3
Make a 4D matrix of 4x4x3x4 containing all zeros.

casi 10 años hace

Resuelto


UICBioE240 2.8
Convert x number of hours into seconds.

casi 10 años hace

Resuelto


UICBioE240 problem 1.13
Compute the following - y = x^5/(x^-1) and y = (1-(1/x^5))^-1. Have the final answer of y to equal a 1 by 2 vector.

casi 10 años hace

Resuelto


Remainder
Make 'y' equal to the remainder of 27 divided by 5. When x=27 and t=5

casi 10 años hace

Resuelto


Complex number
For complex number c=a+bi, write code that will add a and b together.

casi 10 años hace

Resuelto


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

casi 10 años hace

Resuelto


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


Counting down
Create a vector that counts from 450 to 200 in increments of 10.

casi 10 años hace

Resuelto


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

casi 10 años hace

Resuelto


Multielement indexing of a row array
The row array birthRateChina stores the China birth rate (per 1000 people) for years 2000 to 2012. Write a statement that create...

casi 10 años hace

Resuelto


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

casi 10 años hace

Resuelto


Perimeters/Circumference
Given an array. Determine whether the perimeter is of a circle, triangle or square. Then calculate the perimeter.

casi 10 años hace

Resuelto


multiply 3 by 3
x=3 y=3*x

casi 10 años hace

Resuelto


Matlab Basics II - Intervals
Write a function that takes an interval from a to b, and divides it into 5 parts example: a = 1, b = 2 output = 1 1.25 ...

casi 10 años hace

Resuelto


Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];

casi 10 años hace

Resuelto


Number of Horns on a unicorn!
Calculate the number of horns on a *unicorn*! And I'm talking about a unicorn with not more than one horn on it!

casi 10 años hace

Resuelto


Double colon operator: Counting up
* Construct a row array countValues from 1 to endValue, using the double colon operator. Ex: If endValue is 5, countValues s...

casi 10 años hace

Cargar más