Resuelto


UICBioE240 problem 1.12
The mathematical quantities e^x, ln x, and log x are calculated in Matlab using the expressions exp(x), log(x), and log10(x), re...

más de 3 años hace

Resuelto


UICBioE240 problem 1.9
Swap the first and last columns of a matrix. So if A = [12 4 7; 5 1 4]; B = [7 4 12; 4 1 5]; ...

más de 3 años hace

Resuelto


UICBioE240 2.8
Convert x number of hours into seconds.

más de 3 años hace

Resuelto


UICBioE240 problem 1.4
So if A = [ 1 2 3; 4 5 6; 7 8 9] B = [ 3 3]

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


UICBioE240 problem 1.5
Find the size of the matrix, then multiply both values by 10 and make it into a column vector. So if A = [ 1 2 3; ...

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


UICBioE240 2.1
This will be useful later in the course, in conjunction to clc and clear all, what is the command to close all figure windows th...

más de 3 años hace

Resuelto


Find the numeric characters in a string and return their index
Given a string S, return the index of any numeric characters. S = 'The next meeting will be held in 2 weeks.'; idx = fin...

más de 3 años hace

Resuelto


Multiply a column by a row
* Given a column vector C and and a row vector R. * Output a matrix M. * Every column of M equals to C multiplied by correspon...

más de 3 años hace

Resuelto


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

más de 3 años hace

Resuelto


Calculate sin(x) without sin(x)
Calculate y = sin(x) x = 0 -> y= 0 without the use of sin(x) or cos(x)

más de 3 años hace

Resuelto


Calculate cosine without cos(x)
Solve cos(x). The use of the function cos() and sin() is not allowed.

más de 3 años hace

Resuelto


vector to string
Determine what the ASCII characters spell out. Example: input = [ 72 73 71 72] output = 'HIGH'

más de 3 años hace

Resuelto


Sum of cubes
Write a program to determine sum of cubes of first n odd numbers.

más de 3 años hace

Resuelto


Double Factorial
Return double factorial n(n-2)...(5)(3)(1), n>0, odd n!! = n(n-2)...(6)(4)(2), n>0, even 1 ...

más de 3 años hace

Resuelto


Degrees to Radian
Convert degrees to radians

más de 3 años hace

Resuelto


Radians to Degrees
Convert radians to degrees.

más de 3 años hace

Resuelto


Real

más de 3 años hace

Resuelto


Row sum

más de 3 años hace

Resuelto


Factorial

más de 3 años hace

Resuelto


NaN

más de 3 años hace

Resuelto


size

más de 3 años hace

Resuelto


Set zero

más de 3 años hace

Resuelto


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

más de 3 años hace

Resuelto


Given a matrix A (size m x n) create a matrix B (size m+2 x n+2) which consists of matrix A surrounded by zeros. See Example below:
A = [1 2 3 4 5 6] ----------- B = [0 0 0 0 0 0 1 2 3 0 0 4 5 6 0 0 0 0 0 0]

más de 3 años hace

Resuelto


Find the mode of the given input
Find the statistical <http://en.wikipedia.org/wiki/Mode_(statistics)/ mode> of the given input. Example: If X is matr...

más de 3 años hace

Resuelto


Generate vector according to sign of vector
Generate vector according to sign of vector Example: If A=[-2 0 5] then output must be[-1 0 1] meaning that for negative n...

más de 3 años hace

Resuelto


Find difference of two set as per example
Find difference of two set as per example Say x=[1:5] and y=[2:6] then, set_diff(x,y) should give output[1] and set_diff(y...

más de 3 años hace

Resuelto


Find out value of sine given by degree.
Find out value of sine given by degree. If theta=30, it's value must be 0.5.

más de 3 años hace

Cargar más