Community Profile

photo

Aaron


Last seen: plus d'un an il y a Actif depuis 2022

Followers: 0   Following: 0

Statistiques

  • Commenter
  • Promoter
  • Community Group Solver
  • Introduction to MATLAB Master
  • Solver

Afficher les badges

Feeds

Afficher par

A résolu


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

plus d'un an il y a

A résolu


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]

plus d'un an il y a

A résolu


Round to nearest integer

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


Square a Number
Given an input x, return y, which is equal to the square of x.

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.

plus d'un an il y a

A résolu


Radians to Degrees
Convert radians to degrees.

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

plus d'un an il y a

A résolu


Change string to number
Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


Determine the square root
Determine the square root of the value the user has entered, n.

plus d'un an il y a

A résolu


GPA
Math's credit is 5 and you got x | Physics's credit 7 and you got y what is your GPA

plus d'un an il y a

A résolu


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],[...

plus d'un an il y a

A résolu


Draw a '0' in a one matrix!

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


Converts numbers into characters
Converts numbers into characters

plus d'un an il y a

A résolu


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

plus d'un an il y a

A résolu


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

plus d'un an il y a

A résolu


the average value of the elements
Calculate the average value of the elements in the array

plus d'un an il y a

A résolu


Double all elements in the array
Duplicate all elements in the array

plus d'un an il y a

A résolu


Find the max element of the array
Find the max element of the array

plus d'un an il y a

A résolu


calculate the length of matrix
input 1 array, calculate the length

plus d'un an il y a

A résolu


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

plus d'un an il y a

A résolu


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

plus d'un an il y a

Charger plus