Community Profile

photo

Louyze Freire


Last seen: alrededor de 2 años hace Con actividad desde 2020

Estadísticas

  • CUP Challenge Master
  • Introduction to MATLAB Master
  • Community Group Solver
  • Solver

Ver insignias

Content Feed

Ver por

Resuelto


Matlab Basics II - Count rows in a matrix
Write a function that returns that number of rows in a vector or matrix x example: x = [1; 2; 3] output = 3

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

más de 3 años hace

Resuelto


Min of a Matrix
Return the minimum value in the given matrix.

más de 3 años hace

Resuelto


Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

más de 3 años hace

Resuelto


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

más de 3 años hace

Resuelto


Remove the Zero
Given an array n, remove all zeros

más de 3 años hace

Resuelto


Reverse a matrix
Its simple. You have to reverse a given matrix.

más de 3 años hace

Resuelto


Square root of a number
Write a code that will output the square root of x.

más de 3 años hace

Resuelto


Array of Ones
Create a 100 X 100 array of ones.

más de 3 años hace

Resuelto


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


Add two numbers
Add two numbers (For beginners)

más de 3 años hace

Resuelto


Find the sum of n squares
What is the sum of the squares of the first n integers?

más de 3 años hace

Resuelto


Calculate volume of box
Calculate the volume of box,hiven its sides

más de 3 años hace

Resuelto


Area of a circle
Given the radius x, y would be the area of a circle. Pi = 3.1416

más de 3 años hace

Resuelto


Negative matrix
Change the sign of all elements in given matrix.

más de 3 años hace

Resuelto


Find the product of a Vector
How would you find the product of the vector [1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0] times 2?; x = [1 : 0.5 : 6]; y ...

más de 3 años hace

Resuelto


02 - Vector Variables 3
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_2c.png>> (all the numbers from 5 to -5 in increments of ...

más de 3 años hace

Resuelto


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

más de 3 años hace

Resuelto


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

más de 3 años hace

Resuelto


Saving MATLAB session to a file
How to save MATLAB session to a file?

más de 3 años hace

Resuelto


Matlab Basics II - Extract last 3 elements of a vector
Let x be a vector of unknown length, we are always interested in the last 3 numbers in the vector, write a function that gives t...

más de 3 años hace

Resuelto


Counting down
Create a vector that counts from 450 to 200 in increments of 10.

más de 3 años hace

Resuelto


06 - Matrix Equations 2
Define the vectors _aVec_ and _bVec_: <<http://samle.dk/STTBDP/Assignment1_2a.png>> and <<http://samle.dk/STTBDP/Assig...

más de 3 años hace

Resuelto


Building matrices
If you have matrix A, create matrix B using matrix A as an "element" A = [1 2 3 4; 5 6 7 8...

más de 3 años hace

Resuelto


Area of a disk
Find the area of a disk or circle. x= radius of the disk.

más de 3 años hace

Resuelto


Sum of the Matrix Elements
Add up all the elements in a NxM matrix where N signifies the number of the rows and M signifies the number of the columns. E...

más de 3 años hace

Resuelto


Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

más de 3 años hace

Resuelto


Concatenate two strings
Its very easy. Just concatenate two strings.

más de 3 años hace

Cargar más