Statistics
RANK
211 828
of 298 046
REPUTATION
0
CONTRIBUTIONS
0 Questions
1 Answer
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 20 526
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Solved
Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'
ungefär 2 år ago
Solved
String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...
ungefär 2 år ago
Solved
Split a string into chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...
ungefär 2 år ago
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: ...
ungefär 10 år ago | 0
Solved
Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.
mer än 11 år ago
Solved
First N Perfect Squares
*Description* Return the first N perfect squares *Example* input = 4; output = [ 1 4 9 16 ];
mer än 11 år ago
Solved
Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.
mer än 11 år ago
Solved
Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.
mer än 11 år ago
Solved
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...
mer än 11 år ago
Solved
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.
mer än 11 år ago
Solved
Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.
mer än 11 år ago
Solved
Average of square wave
given positive and negative peak , calculate dc level, 50% duty cycle
mer än 11 år ago
Solved
Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area
mer än 11 år ago
Solved
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...
mer än 11 år ago
Solved
Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.
mer än 11 år ago
Solved
Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.
mer än 11 år ago
Solved
Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...
mer än 11 år ago
Solved
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: [...
mer än 11 år ago
Solved
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...
mer än 11 år ago
Solved
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 ...
mer än 11 år ago
Solved
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] ...
mer än 11 år ago
Solved
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...
mer än 11 år ago
Solved
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
mer än 11 år ago
Solved
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
mer än 11 år ago
Solved
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 ...
mer än 11 år ago
Solved
Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.
mer än 11 år ago
Solved
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 ...
mer än 11 år ago