Instructions Following
Complete the function follow(s) which, for a given string (containing only the letters 'f', 'b', 'l', 'r'), calculates the final...
約1年 前
解決済み
row removal
Remove the nth row from input matrix M and return the resulting matrix in output N.
約1年 前
解決済み
vectors counting by 5
Create a vector with numbers from x_min to x_max in increments of 5.
All capital?
Are all the letters in the input string capital letters?
Examples:
'MNOP' -> 1
'MN0P' -> 0
約1年 前
解決済み
Max of a Vector
Write a function to return the max of a vector
約1年 前
解決済み
Getting the indices from a matrix
Inspired by Problem 645.
Getting the indices from a matrix.
Given a matrix A (or a vector), return the indices (always in row...
約1年 前
解決済み
Squaring Matrix
Square the following matrix using matlab
%
A = 1 2 3 4
5 6 7 8
So new matrix should display...
約1年 前
解決済み
Volume of a box
Given a box with a length a, width b, and height c. Solve the volume of the box.
約1年 前
解決済み
Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise
約1年 前
解決済み
kmph to mps
convert kilometer per hour to meter per second
約1年 前
解決済み
01 - Scalar variables
Create the following variables:
<<http://samle.dk/STTBDP/Assignment1_1.png>>
約1年 前
解決済み
Create a Matrix of Zeros
Given an input x, create a square matrix y of zeros with x rows and x columns.
約1年 前
解決済み
Count Vowels at Even Indices
Write a function `vowelEvenIndices` that counts the number of vowels (a, e, i, o, u) located at even indices (0-based) in a give...
約1年 前
解決済み
Breaking up a chocolate bar
You've got a chocolate bar of size , and you want to break it up into bite-sized () pieces. How many steps are required to do th...
約1年 前
解決済み
Extra colors
Context
In the RGB color system used by Matlab, the color is a 1 x 3 / row vector [R G B] with each value/component R, G, B in ...