Community Profile

photo

Colleen


Last seen: etwa ein Jahr vor Aktiv seit 2023

Followers: 0   Following: 0

Statistiken

  • Introduction to MATLAB Master
  • Community Group Solver
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Gelöst


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

etwa ein Jahr vor

Gelöst


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

etwa ein Jahr vor

Gelöst


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

etwa ein Jahr vor

Gelöst


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

etwa ein Jahr vor

Gelöst


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

etwa ein Jahr vor

Gelöst


Return the first and last characters of a character array
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

etwa ein Jahr vor

Gelöst


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

etwa ein Jahr vor

Gelöst


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

etwa ein Jahr vor

Gelöst


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

etwa ein Jahr vor

Gelöst


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

etwa ein Jahr vor

Gelöst


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

etwa ein Jahr vor

Gelöst


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

etwa ein Jahr vor

Gelöst


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

etwa ein Jahr vor

Gelöst


Basic commands - Least common multiple
Make a function which will return least common multiple of "a" and "b" Example: a=8; b=6; y=24;

etwa ein Jahr vor

Gelöst


Square
square root of x

etwa ein Jahr vor

Gelöst


Nth root
Nth root of a number x

etwa ein Jahr vor

Gelöst


square root
Find square root of given number

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


Times 5
Try out this test problem first. Given the variable x as your input, multiply it by five and put the result in y. Examples...

etwa ein Jahr vor

Gelöst


Times 10
Try out this test problem first. Given the variable x as your input, multiply it by ten and put the result in y. Examples:...

etwa ein Jahr vor

Gelöst


divide by 5

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

etwa ein Jahr vor

Gelöst


Mile to Kilometer
x is mile and y is km

etwa ein Jahr vor

Gelöst


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

etwa ein Jahr vor

Gelöst


length of a vector
Find twice the length of a given vector.

etwa ein Jahr vor

Gelöst


Unit conversion
Convert x degree Celsius to y degree Fahrenheit.

etwa ein Jahr vor

Gelöst


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

etwa ein Jahr vor

Gelöst


Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...

etwa ein Jahr vor

Gelöst


Degrees to Radian
Convert degrees to radians

etwa ein Jahr vor

Mehr laden