Solved


CONVERT TAN TO SIN
In a right angle triangle ABC given the tan(A) then find sin(A) For example tan(A)=3/4 then sin(A)=3/5

meer dan 4 jaar ago

Solved


Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

meer dan 4 jaar ago

Solved


y equals x divided by 2
function y = x/2

meer dan 4 jaar ago

Solved


Create a Multiplication table matrix...
Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...

meer dan 4 jaar ago

Solved


Column norms of a matrix
Given a matrix M, return a vector y such that for each k y(k)=norm(M(:,k)) (y(k) is the Euclidean norm of the k-th col...

meer dan 4 jaar ago

Solved


Remove the Zero
Given an array n, remove all zeros

meer dan 4 jaar ago

Solved


Will there be a new leader?
Simply answer the title.

meer dan 4 jaar ago

Solved


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

meer dan 4 jaar ago

Solved


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

meer dan 4 jaar ago

Solved


Change the sign of even index entries of the reversed vector
change the signs of the even index entries of the reversed vector example 1 vec = [4 -1 -2 9] ans = [9 2 -1 -4] example2...

meer dan 4 jaar ago

Solved


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

meer dan 4 jaar ago

Solved


Convert Fahrenheit to Celsius
Calculate the Celsius temperature C given the Fahrenheit temperature F. Examples: Input F = 90 Output C is 32.22 I...

meer dan 4 jaar ago

Solved


Circumscribed circles
Given the lengths of the 3 sides of a triangle, output the radius of the circumscribed circle. Example: [3 4 5] -> 2.5

meer dan 4 jaar ago

Solved


Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
The given function returns the index of the maximum value in a given matrix. such as X=[4,3,4,5,9,12,0,5] Ans= 6 if maxim...

meer dan 4 jaar ago

Solved


Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm

meer dan 4 jaar ago

Solved


Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative

meer dan 4 jaar ago

Solved


05 - Vector Equations 3
Define the vector _dVec_: <<http://samle.dk/STTBDP/Assignment1_2d.png>> (Logarithmically spaced numbers between 1 and 10) ...

meer dan 4 jaar ago

Solved


Binary code (array)
Write a function which calculates the binary code of a number 'n' and gives the result as an array(vector). Example: Inpu...

meer dan 4 jaar ago

Solved


07 - Common functions and indexing 5
Create the vector _lin_: <<http://samle.dk/STTBDP/Assignment1_7e.png>> (the integers from 1 to 20) Make every other val...

meer dan 4 jaar ago

Solved


07 - Common functions and indexing 2
Define _eMat_: <<http://samle.dk/STTBDP/Assignment1_3e.png>> Calculate eMean as the mean across the rows of _eMat_. The an...

meer dan 4 jaar ago

Solved


Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...

meer dan 4 jaar ago

Solved


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

meer dan 4 jaar ago

Solved


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

meer dan 4 jaar ago

Solved


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

meer dan 4 jaar ago

Solved


05 - Vector Equations 1
Define the vector _cVec_: <<http://samle.dk/STTBDP/Assignment1_2c.png>> (all the numbers from 5 to -5 in increments of -0....

meer dan 4 jaar ago

Solved


04 - Scalar Equations 3
Define the variables a, b, and c: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> <<http://samle.dk/STTBDP/Assignment1_4-b....

meer dan 4 jaar ago

Solved


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

meer dan 4 jaar ago

Solved


Count up then down
Create a function that produces counting up from 0 up to n then down to 0 n=2 --> 0 1 2 1 0 n=3 --> ...

meer dan 4 jaar ago

Solved


Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...

meer dan 4 jaar ago

Solved


Times 3 problem
When you enter the number, it should return the number multiplied by 3

meer dan 4 jaar ago

Load more