Gelöst


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

fast 11 Jahre vor

Gelöst


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

fast 11 Jahre vor

Gelöst


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

fast 11 Jahre vor

Gelöst


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]

fast 11 Jahre vor

Gelöst


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)

fast 11 Jahre vor

Gelöst


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

fast 11 Jahre vor

Gelöst


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

fast 11 Jahre vor

Gelöst


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

fast 11 Jahre vor

Gelöst


UICBioE240 problem 1.14
Solve 3^x = 17

fast 11 Jahre vor

Gelöst


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

fast 11 Jahre vor

Gelöst


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

fast 11 Jahre vor

Gelöst


UICBioE240 problem 1.18
exp(pi/5*i) and exp(pi/5i). Is there any difference in result? Write yes or no as a string.

fast 11 Jahre vor

Gelöst


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

fast 11 Jahre vor

Gelöst


Create cell array of numeric arrays
Convert the input to a cell array, but only if necessary. If the input is a numeric array, return a 1-by-1 cell array contain...

fast 11 Jahre vor

Problem


Create cell array of numeric arrays
Convert the input to a cell array, but only if necessary. If the input is a numeric array, return a 1-by-1 cell array contain...

fast 11 Jahre vor | 1 | 46 Lösungsvorschläge

Gelöst


Create cell array of strings
Convert the input to a cell array, but only if necessary. If the input is a string, return a 1-by-1 cell array containing the...

fast 11 Jahre vor

Problem


Create cell array of strings
Convert the input to a cell array, but only if necessary. If the input is a string, return a 1-by-1 cell array containing the...

fast 11 Jahre vor | 1 | 58 Lösungsvorschläge

Gelöst


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

fast 11 Jahre vor

Beantwortet
Function for concatenating strings with delimiters?
In case someone else stumbles upon this question like me, there is now a built-in function to accomplish this task: s = {'s...

fast 11 Jahre vor | 14

Beantwortet
How can I generate all possible combinations from multiple sets of nchoosek?
In case anyone else ever stumbles upon this question...I figured out how to solve my problem. Use a combination of nchoosek and ...

fast 11 Jahre vor | 0

| akzeptiert

Gelöst


Polygonal numbers
The task of <http://www.mathworks.co.uk/matlabcentral/cody/problems/5 Problem 5> is to calculate triangular numbers. By playing ...

fast 11 Jahre vor

Gelöst


Bell Number calculator
Calculate a vector of Bell numbers for sets up to length n. Bell numbers are the maximum number of partitions of a set. See the ...

fast 11 Jahre vor

Gelöst


Moving target
Write a function with persistent variables currentLocationX and currentLocationY that store an object's location. Each call to t...

fast 11 Jahre vor

Gelöst


Modify an array's elements
Write a for loop that iterates from 1 to numberSamples to double any element's value in dataSamples that is less than minValue. ...

fast 11 Jahre vor

Gelöst


Function call: Kilometers to miles
Assign rateMPH with the corresponding rate in miles per hour given a user defined rateKPH, which is a rate in kilometers per hou...

fast 11 Jahre vor

Gelöst


Writing a function: MaxValue()
Write a local function named MaxValue that returns the maximum of two inputs numA and numB.

fast 11 Jahre vor

Gelöst


Writing a nested function: BMI calculation
Write a nested function CalculateBMI that assigns bmiValue given a user's weight and height. Use the following equations to calc...

fast 11 Jahre vor

Gelöst


Travel speed
Write an anonymous function to compute the Euclidean distance given two points (x1, y1) and (x2, y2). Use the following equation...

fast 11 Jahre vor

Gelöst


Writing a recursive math function
Complete the recursive function RaiseToPower(). Ex: If userBase is 2 and userExponent is 4, then raisedValue is assigned wit...

fast 11 Jahre vor

Gelöst


Prime checker
Complete the recursive function to determine if a number is prime. Skeletal code is provided in the PrimeChecker function.

fast 11 Jahre vor

Mehr laden