Resuelto


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

alrededor de 10 años hace

Respondida
How to change grid dot-lines looks better?
Try this code ax = gca; ax.GridLineStyle = '-'

alrededor de 10 años hace | 0

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

alrededor de 10 años hace

Resuelto


Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

alrededor de 10 años hace

Resuelto


Product of elements in row
Product of matrix such that a=[3 3 1] b=9

alrededor de 10 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]

alrededor de 10 años hace

Resuelto


Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

alrededor de 10 años hace

Resuelto


Matlab Basics II - Intervals
Write a function that takes an interval from a to b, and divides it into 5 parts example: a = 1, b = 2 output = 1 1.25 ...

alrededor de 10 años hace

Resuelto


Calculate square and cube of number
Calculate square and cube of number x

alrededor de 10 años hace

Resuelto


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

alrededor de 10 años hace

Resuelto


Divide by 4
Given the variable x as your input, divide it by 4 and put the result in y.

alrededor de 10 años hace

Resuelto


vector to string
Determine what the ASCII characters spell out. Example: input = [ 72 73 71 72] output = 'HIGH'

alrededor de 10 años hace

Resuelto


Sum of integers numbers
Sum of the numbers from 1 to 100

alrededor de 10 años hace

Resuelto


Conversion from hours to mili sec
Convert given input in hours to mili seconds

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


find the Area of a rectangle
length is x width is y what is the area of the rectangle?

alrededor de 10 años hace

Resuelto


Cumulative product of a vector
Cumulative product of a vector example x=[1 2 5 10], then answer must be [ 1 2 10 100] *If you like this prob...

alrededor de 10 años hace

Resuelto


Product of Array
Given an array of numbers. Get the product of the array.

alrededor de 10 años hace

Resuelto


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


find minimum
find the minimum from an array

alrededor de 10 años hace

Resuelto


Find mean
given an array, find the mean of the number in that array

alrededor de 10 años hace

Resuelto


find max
You are given an array number find the maximum

alrededor de 10 años hace

Resuelto


Finding fourier transform of a given vector
Find the fourier transform of a given input vector for ex a=[1 2 3 4] then y=[ 10.0000 + 0.0000i -2.0000 +...

alrededor de 10 años hace

Resuelto


Where is she?
Given the numbers 12, 3, 6, 9 Tell where the girl is located. That is: Look to your 3 o'clock = look right Example ...

alrededor de 10 años hace

Resuelto


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

alrededor de 10 años hace

Resuelto


find square root of a positive real number
a number given, find the square root of that number

alrededor de 10 años hace

Cargar más