Community Profile # mansour torabi

Last seen: 13日 前 2021 以来アクティブ

#### Statistics

All
• • • • • • • • • • • • バッジを表示

#### Content Feed

Distance walked 2D
Suppose you go from x-y coordinates [3,4] to [0,0] to [0,1] to [1,1], then you walked 7 units of distance.

24日 前

create a circulant matrix
create a circulant matrix

24日 前

Calories in a slice of pizza?
The total calories C in a pizza is printed on its box. You know the angle A (degrees) of the slice you placed on your plate. Ple...

24日 前

CARDS PROBLEM
Read my mind and tell me the card number that I have now in my hands.

24日 前

Vector LCM
* Find Least Common Multiple of a given vector. * Need general solution as the test suite will be expanded. * Function Templa...

24日 前

Reverse CHECKBOX MATRIX with 69
Create a reverse checkbox matrix with '69'. Where the size is the input and output will be a square checkbox matrix. Exa...

24日 前

UICBioE240 2.7
Given two 3-element vectors x1 and x2, create a 3 x 3 x 3 matrix Y where (:,:,1) has all values of x1 * x2, (:,:,2) has all valu...

24日 前

UICBioE240 problem 1.7
Find the other two angles of a right triangle given the two of the sides. So if A = [1 1] B = [45 45]

24日 前

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

24日 前

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

24日 前

UICBioE240 problem 1.1
Remove the middle row from a matrix, assuming # of rows is odd. So if A = [ 1 2 3; 4 5 6; 7 8 9] the...

24日 前

UICBioE240 problem 1.2
Convert a column vector into a row vector. So if A = [1; 2; 3] Then B = [ 1 2 3]

24日 前

UICBioE240 problem 1.3
Find the length of a vector. So if A = [1 1 1 1 1] Then B = 5

24日 前

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

24日 前

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

24日 前

UICBioE240 problem 1.6
Find the tangent line of a right triangle given the two of the sides. So if A = [1 1] B = sqrt(2)

24日 前

UICBioE240 problem 1.8
Given a list of grades in a class, write a script that gives the 2nd highest grade in the class and the average for the class. ...

24日 前

UICBioE240 problem 1.10
Find the number of cells in a bioreactor after a given time when doubling time is dd and initial number of cells is x. So if ...

24日 前

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

24日 前

UICBioE240 problem 1.14
Solve 3^x = 17

24日 前

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

24日 前

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

24日 前

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

24日 前

UICBioE240 2.8
Convert x number of hours into seconds.

24日 前

Least common multiple of many numbers
1:6 -> 60

24日 前

wipe out!
make all the elements in given x zero.

24日 前

Sudoku square
We have a small Sudoku square, but one number is missing. x = [ 1 5 4 8 6 3 0 9 7 ] Make a function, wher...

24日 前

be able to add any variable to the number one

24日 前

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

24日 前

All your base are belong to us
Find the base _b_ logarithm of the input decimal number _x_. Express the output as a decimal number. The first argument is the n...

24日 前