Solved


Getting the absolute index from a matrix
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to get the <http://www.ma...

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

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

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

8 years ago

Solved


07 - Common functions and indexing 3
Define _eMat_: <<http://samle.dk/STTBDP/Assignment1_3e.png>> Create the variable _eMat2_, which is equal to _eMat_ with th...

8 years ago

Solved


Equal to their cube
Tell me three real numbers that are equal to their cubes?

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

8 years ago

Solved


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

8 years ago

Solved


Find the logic
There exists one logic in between input and output. Find it (easy math). Example 1: x=13 then y=339; Example 2: x=26...

8 years ago

Solved


Percentage of zeros in a matrix of only 1s and 0s
Write a function called _zero_stat_ that takes a matrix as an input that only has 0 and 1 elements. The function needs to comput...

8 years ago

Problem


Percentage of zeros in a matrix of only 1s and 0s
Write a function called _zero_stat_ that takes a matrix as an input that only has 0 and 1 elements. The function needs to comput...

8 years ago | 2 | 65 solvers

Solved


function to compute root mean square of first nn positive odd integers
Write a function called odd_rms that returns orms, which is the square root of the mean of the squares of the first nn positive ...

8 years ago

Problem


function to compute root mean square of first nn positive odd integers
Write a function called odd_rms that returns orms, which is the square root of the mean of the squares of the first nn positive ...

8 years ago | 1 | 58 solvers

Solved


Datetime basics
Generate the datetime scalar representing the current date

8 years ago

Problem


Datetime basics
Generate the datetime scalar representing the current date

8 years ago | 0 | 135 solvers

Solved


Check if there are white spaces in the input string
If there are white spaces in the input string, output=1 else 0

8 years ago

Problem


Check if there are white spaces in the input string
If there are white spaces in the input string, output=1 else 0

8 years ago | 2 | 57 solvers

Solved


Remove white spaces at the end of the input string
Remove all trailing white spaces at the end of the input strings

8 years ago

Problem


Remove white spaces at the end of the input string
Remove all trailing white spaces at the end of the input strings

8 years ago | 1 | 54 solvers

Solved


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

8 years ago

Problem


Perimeter of a semicircle
Given the diameter d, find the perimeter of a semicircle

8 years ago | 10 | 2167 solvers

Solved


Nth root of a number
Given an input and a number N, find the Nth root of the number(s)

8 years ago

Problem


Nth root of a number
Given an input and a number N, find the Nth root of the number(s)

8 years ago | 1 | 59 solvers

Solved


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

8 years ago

Solved


Element by element multiplication of two vectors
Given two input vectors, return the element-by-element product. Example A = [1 2 3] B = [7 3 1] The answer should be...

8 years ago

Solved


Remove white space from the string
Remove the white spaces (trailing and leading) from the input variable

8 years ago

Solved


Count ones
Write a program to count number of ones (1s) in an integer variable input. For example: Input x=2200112231 output y=3 I...

8 years ago

Solved


Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

8 years ago

Solved


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

8 years ago

Solved


Basic arrays operations.
Apply element-by-element binary operation 'fun' to two arrays (A and B).

8 years ago

Load more