Gelöst


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

mehr als 9 Jahre vor

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

mehr als 9 Jahre vor | 0

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


find minimum
find the minimum from an array

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


find max
You are given an array number find the maximum

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Mehr laden