Matthew
Followers: 0 Following: 0
-
Statistiche
0 Problemi
379 Soluzioni
RANK
N/A
of 290.068
REPUTAZIONE
N/A
CONTRIBUTI
0 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Risolto
Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...
9 mesi fa
Risolto
Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...
9 mesi fa
Risolto
Back to basics 22 - Rotate a matrix
Covering some basic topics I haven't seen elsewhere on Cody. Rotate the input matrix 90 degrees counterclockwise (e.g. [1 2; ...
9 mesi fa
Risolto
Replace every 3rd element in a vector with 4
x is a vector of undetermined length You are to replace every 3rd element with the number 4, example: x = [11 23 34 43 2 3...
9 mesi fa
Risolto
Determine the length of a string of characters
Determine the length of a string of characters
9 mesi fa
Risolto
Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm
9 mesi fa
Risolto
Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.
9 mesi fa
Risolto
Toeplitz Matrix
For a given square matrix of order n-by-n check whether this is a Toeplitz matrix or not. Return true if it is.
9 mesi fa
Risolto
letter yes yes & letter no no
Split a string into two strings, wherein the first string has all alphabetic letters and the second string has all the remaining...
9 mesi fa
Risolto
QWERTY Shift Code Decoder
Decode a string encoded using the QWERTY shift code. QWERTY shift code is where the message was touch typed but with an offse...
9 mesi fa
Risolto
Word Distance - Sum
Let's suppose that the distance of a word can be calculated by summing the differences between its letters, having assigned the ...
9 mesi fa
Risolto
Fill a zeros matrix
The aim is to fill an array of all zeros given a numerical value and the index of row and columns for this value. 3 Inputs: ...
9 mesi fa
Risolto
Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...
9 mesi fa
Risolto
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
9 mesi fa
Risolto
Output any real number that is neither positive nor negative
Output any real number that is neither positive nor negative
9 mesi fa
Risolto
multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...
9 mesi fa
Risolto
Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...
9 mesi fa
Risolto
Sum of Two Numbers
Given two integer numbers x and y, calculate their sum and put it in z. Examples: Inputs x = 2, y = 4 Output z is 6 ...
9 mesi fa
Risolto
Convert yards to feet
The goal of this script is to convert a value given in yards to feet.
9 mesi fa
Risolto
Area of a Square
Inside a square is a circle with radius r. What is the area of the square?
9 mesi fa
Risolto
Cycling — Critical Power
From Training and Racing with a Power Meter by Allen and Coggan: "A number of equations have been presented in the scientific...
9 mesi fa
Risolto
Use of regexp
Given a string, containing several sentences, such as: 'I played piano. John played football. Anita went home. Are you safe?...
9 mesi fa
Risolto
Reverse within string
If input is a string 'yellow' the output should be 'leywol'. Locate the middle of the string and reverse the first (yel) and sec...
9 mesi fa
Risolto
Find state names that end with the letter A
Given a list of US states, remove all the states that end with the letter A. Example: Input s1 = 'Alabama Montana Nebras...
9 mesi fa
Risolto
The Goldbach Conjecture, Part 2
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...
9 mesi fa