Risolto


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

circa 4 anni fa

Risolto


Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


Area of a pentagon
Given the side of a regular pentagon and its apothem return the area of pentagon. Remember the area of pentagon is calculate ...

circa 4 anni fa

Risolto


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

circa 4 anni fa

Risolto


Temperature Conversion 2

circa 4 anni fa

Risolto


Temperature Conversion 1

circa 4 anni fa

Risolto


Temperature Conversion 3

circa 4 anni fa

Risolto


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

circa 4 anni fa

Risolto


The sum of the numbers in the vector
eg. [1,2,3]---->SUM=6

circa 4 anni fa

Risolto


Area of rhombus
Calculate the rhombus area

circa 4 anni fa

Risolto


Spherical Volume
Calculate the volume of a sphere.

circa 4 anni fa

Risolto


Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...

circa 4 anni fa

Risolto


Real

circa 4 anni fa

Risolto


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...

circa 4 anni fa

Risolto


to the 2 all elements
to the 2 all elements

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


Converts numbers into characters
Converts numbers into characters

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

circa 4 anni fa

Risolto


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

circa 4 anni fa

Risolto


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

circa 4 anni fa

Risolto


find "greatest common divisor" of two integer value
A function to find Greatest Common Divisor of two integer input E.G. x=-18 y=96 output should be +6 x=-18; y=96; >>your...

circa 4 anni fa

Risolto


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

circa 4 anni fa

Risolto


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

circa 4 anni fa

Risolto


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

circa 4 anni fa

Carica altro