Aaron
Statistics
0 Problems
79 Solutions
RANK
N/A
of 288 889
REPUTATION
N/A
CONTRIBUTIONS
0 Questions
0 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 19 494
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
Solved
Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346
mer än ett år ago
Solved
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]
mer än ett år ago
Solved
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>> ...
mer än ett år ago
Solved
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
mer än ett år ago
Solved
Square a Number
Given an input x, return y, which is equal to the square of x.
mer än ett år ago
Solved
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
mer än ett år ago
Solved
Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.
mer än ett år ago
Solved
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 ...
mer än ett år ago
Solved
Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.
mer än ett år ago
Solved
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 ...
mer än ett år ago
Solved
Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors
mer än ett år ago
Solved
Change string to number
Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example
mer än ett år ago
Solved
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...
mer än ett år ago
Solved
Determine the square root
Determine the square root of the value the user has entered, n.
mer än ett år ago
Solved
GPA
Math's credit is 5 and you got x | Physics's credit 7 and you got y what is your GPA
mer än ett år ago
Solved
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],[...
mer än ett år ago
Solved
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;...
mer än ett år ago
Solved
Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
mer än ett år ago
Solved
Calculate the average value of the elements in the array
Calculate the average value of the elements in the array
mer än ett år ago
Solved
the average value of the elements
Calculate the average value of the elements in the array
mer än ett år ago
Solved
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...
mer än ett år ago
Solved
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...
mer än ett år ago