Risolto


Matrix FUN
Given a Matrix M, find out the number of elements of matrix that are divisible by 3. M = [1 2 3;4 5 6;7 8 9]; ou...

circa 10 anni fa

Problema


Place numbers
Given two input first input is a matrix which consist of the index numbers of the second input vector. You place the second inpu...

circa 10 anni fa | 0 | 46 risolutori

Risolto


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

oltre 10 anni fa

Risolto


UICBioE240 problem 1.14
Solve 3^x = 17

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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.

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


Try and Catch Simple Example
Try and Catch Simple Example <http://in.mathworks.com/help/matlab/ref/try.html Example> Vector x=[1 4 6 8 10]; Create...

oltre 10 anni fa

Risolto


Divide elements by sum of elements
In this problem, I ask you to write a function which will divide the elements of each column by the sum of the elements of the s...

oltre 10 anni fa

Risolto


To convolve two vectors
To convolve two vectors

oltre 10 anni fa

Risolto


Delete blanks at the end of string
you got to delete all blank spaces which appears at the end of string

oltre 10 anni fa

Risolto


Initialize a Natural Number matrix.
Given length of matrix initialize a matrix consisting of natural numbers from 1 to n: n = 10; x = [ 1 2 3 4 5 6 7 8 9 10]; ...

oltre 10 anni fa

Risolto


Find minimum and maximum elements of an array
For a given array find minimum and maximum elements of an array and store minimum value in first index of output and maximum in ...

oltre 10 anni fa

Risolto


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

oltre 10 anni fa

Risolto


Change number representation to HEX
Given a number change it's representation to HEX and output it.

oltre 10 anni fa

Risolto


While loop with branching
Write a while loop that adjusts userValue while userValue is less than 0 or greater than 80. If userValue is greater than 80, th...

oltre 10 anni fa

Risolto


While loop with multiple conditions
Write a while loop that multiplies userValue by 2 while userValue is not 10 and while userValue is less than 25.

oltre 10 anni fa

Risolto


Multiple if statements
Write an if-statement that subtracts 5 from outputValue if amplitudeResponse is greater than 10. Write a second if-statement tha...

oltre 10 anni fa

Risolto


Writing a while loop
Write a while loop that continues to increment userValue by 5 until userValue is less than 0.

oltre 10 anni fa

Risolto


Preset rpm speeds
A centrifuge has four preset speeds. Write a switch statement that assigns rpmSetting with the appropriate rpm speed given prese...

oltre 10 anni fa

Risolto


Convert letters to Greek letter
Write a switch statement that checks origLetter. If origLetter is 'a' or 'A', assign greekLetter with 'Alpha'. If origLetter is ...

oltre 10 anni fa

Risolto


Genetic markers test
Assign testResult with 1 if either geneticMarkerA is 1 or geneticMarkerB is 1. If geneticMarkerA and geneticMarkerB are both 1, ...

oltre 10 anni fa

Risolto


Food safety
Assign safeTemperature with 1 if foodTemperature is less than 40 or greater than 165.

oltre 10 anni fa

Risolto


Check bounds
Assign inRange with 1 if userWeight is greater than 100 and less than or equal to 200.

oltre 10 anni fa

Risolto


Dosage by weight
A machine administer's medication dosage based on weight. Write an if-elseif-else statement that assigns the appropriate dosageA...

oltre 10 anni fa

Risolto


Small aircraft weight limit
Write an if-else statement that evaluates to true if the sum of passengerWeight and cargoWeight is less than or equal maxWeight....

oltre 10 anni fa

Risolto


Equality check: Number of bricks
Write an if statement that assigns deliveryComplete with 1 if bricksDelivered is equal to bricksExpected.

oltre 10 anni fa

Carica altro