Aaron
Followers: 0 Following: 0
Statistiche
0 Problemi
79 Soluzioni
RANK
N/A
of 289.998
REPUTAZIONE
N/A
CONTRIBUTI
0 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Risolto
Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346
oltre un anno fa
Risolto
Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]
oltre un anno fa
Risolto
Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<https://i.imgur.com/jlZDHhq.png>> ...
oltre un anno fa
Risolto
Matlab Basics - Rounding I
Write a script to round x DOWN to the next lowest integer: e.g. x = 2.3 --> x = 2 also: x = 2.7 --> x = 2
oltre un anno fa
Risolto
Square a Number
Given an input x, return y, which is equal to the square of x.
oltre un anno fa
Risolto
Matlab Basics - y as a function of x
Write a function to calculate y as a function of x, such that y = 6x^2 + 5x - 2
oltre un anno fa
Risolto
Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.
oltre un anno fa
Risolto
The great 82-year-old
Let's answer the question below; 'I am *x* years old and I have never written programs. If I study from now, will I be able ...
oltre un anno fa
Risolto
Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.
oltre un anno fa
Risolto
Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...
oltre un anno fa
Risolto
Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors
oltre un anno fa
Risolto
Change string to number
Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example
oltre un anno fa
Risolto
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...
oltre un anno fa
Risolto
Determine the square root
Determine the square root of the value the user has entered, n.
oltre un anno fa
Risolto
GPA
Math's credit is 5 and you got x | Physics's credit 7 and you got y what is your GPA
oltre un anno fa
Risolto
Find the slope of a line that passes through two vectors
Given two vectors p1 and p2, return the slope of a line that passes through p1 and p2. Examples: Input [p1,p2] = deal([0,1],[...
oltre un anno fa
Risolto
Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...
oltre un anno fa
Risolto
Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
oltre un anno fa
Risolto
Calculate the average value of the elements in the array
Calculate the average value of the elements in the array
oltre un anno fa
Risolto
the average value of the elements
Calculate the average value of the elements in the array
oltre un anno fa
Risolto
Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...
oltre un anno fa
Risolto
Height of a right-angled triangle
Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a...
oltre un anno fa