Community Profile

photo

Shaun


Last seen: 9ヶ月 前
182 2012 年以降の合計貢献数

連絡する

Shaun's バッジ

  • First Review
  • First Answer
  • Scavenger Finisher
  • Promoter
  • Commenter
  • Speed Demon
  • Solver

詳細を表示...

貢献した分野
表示方法

解決済み


Return area of square
Side of square=input=a Area=output=b

約1年 前

回答済み
Help with GUI push buttons and multiple axes
Read up on callbacks <http://www.mathworks.com/help/matlab/interactive-control-and-callbacks.html Matlab Help> Concept: ...

約6年 前 | 0

解決済み


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

7年以上 前

解決済み


First N Perfect Squares
*Description* Return the first N perfect squares *Example* input = 4; output = [ 1 4 9 16 ];

7年以上 前

解決済み


Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.

8年弱 前

解決済み


Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

8年弱 前

解決済み


Find last zero for each column
Given a numeric array of arbitrary size, return the row index of the last zero for each column. If a column contains all nonzero...

8年弱 前

解決済み


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

8年弱 前

解決済み


Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

8年弱 前

解決済み


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

8年弱 前

解決済み


Average of square wave
given positive and negative peak , calculate dc level, 50% duty cycle

8年弱 前

解決済み


Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area

8年弱 前

解決済み


Back to basics 4 - Search Path
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the user's portion of the current search...

8年弱 前

解決済み


Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.

8年弱 前

解決済み


calculate RMS voltage
given peak to peak voltage, calculate rms voltage

8年弱 前

解決済み


Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

8年弱 前

解決済み


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

8年弱 前

解決済み


Find Index of maximum Value and maximum Value of a vector
Find the Index of the first occurrence of the maximum value in a vector and also the maximum value in the vector. Example: [...

8年弱 前

解決済み


Given a 4x4 matrix, swap the two middle columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...

8年弱 前

解決済み


Insert zeros into vector
Insert zeros after each elements in the vector. Number of zeros is specified as the input parameter. For example: x = [1 ...

8年弱 前

解決済み


Replace multiples of 5 with NaN
It is required to replace all values in a vector that are multiples of 5 with NaN. Example: input: x = [1 2 5 12 10 7] ...

8年弱 前

解決済み


Sorting
Assume that x is an n-by-2 matrix. The aim is to return the first column of x, but sorted according to the second column. Exa...

8年弱 前

解決済み


Back to basics 17 - white space
Covering some basic topics I haven't seen elsewhere on Cody. Remove the trailing white spaces from the input variable

8年弱 前

解決済み


Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

8年弱 前

解決済み


Rotate a Matrix by 90 degrees
Rotate a Matrix by 90 degrees Example: If the input is: X = 1 2 3 4 5 6 7 8 9 ...

8年弱 前

解決済み


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

8年弱 前

解決済み


Who knows the last digit of pi?
There is only one man who knows the last digit of pi, who is that man? Give the name of that man, who, by popular believe, can ...

8年弱 前

解決済み


Find max
Find the maximum value of a given vector or matrix.

8年弱 前

解決済み


Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];

8年弱 前

解決済み


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

8年弱 前

Load more