Community Profile

# Louyze Freire

##### Last seen: 2 months ago
173 total contributions since 2020

View details...

Contributions in
View by

Solved

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

3 months 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

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

3 months ago

Solved

Remove the Zero
Given an array n, remove all zeros

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

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

3 months 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

3 months ago

Solved

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago

Solved

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

3 months ago