Xusheng Huang
Statistiken
0 Probleme
168 Lösungen
RANG
N/A
of 288.889
REPUTATION
N/A
BEITRÄGE
0 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
0
RANG
of 19.494
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Content Feed
Gelöst
04 - Scalar Equations 2
Define the variables a and b: <<http://samle.dk/STTBDP/Assignment1_4-a.png>> <<http://samle.dk/STTBDP/Assignment1_4-b.png>...
fast 6 Jahre vor
Gelöst
Back to basics 3 - Temp Directory
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the path to the system's current temp di...
fast 6 Jahre vor
Gelöst
Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.
fast 6 Jahre vor
Gelöst
Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...
fast 6 Jahre vor
Gelöst
So many choices
For inputs _n_ and _k_ (in that order), output the number of ways that k objects can be chosen from amongst n distinct objects. ...
fast 6 Jahre vor
Gelöst
03 - Matrix Variables 2
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3b.png>> A 9x9 matrix of zeros, but with the following v...
fast 6 Jahre vor
Gelöst
Back to basics 14 - Keywords
Covering some basic topics I haven't seen elsewhere on Cody. Return a cell array of all MATLAB keywords
fast 6 Jahre vor
Gelöst
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
fast 6 Jahre vor
Gelöst
Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.
fast 6 Jahre vor
Gelöst
Wind Chill Computation
On a windy day, a temperature of 15 degrees may feel colder, perhaps 7 degrees. The formula below calculates the "wind chill," i...
fast 6 Jahre vor
Gelöst
All your base are belong to us
Find the base _b_ logarithm of the input decimal number _x_. Express the output as a decimal number. The first argument is the n...
fast 6 Jahre 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...
fast 6 Jahre vor
Gelöst
Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];
fast 6 Jahre vor
Gelöst
Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...
fast 6 Jahre vor
Gelöst
Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2
fast 6 Jahre vor
Gelöst
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...
fast 6 Jahre vor
Gelöst
2 b | ~ 2 b
Given a string input, output true if there are 2 b's in it, false if otherwise Examples: 'Macbeth' -> false 'Publius Cor...
fast 6 Jahre vor
Gelöst
Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...
fast 6 Jahre vor
Gelöst
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 ...
fast 6 Jahre vor
Gelöst
Beginner's Problem - Squaring
Try out this test problem first. Given the variable x as your input, square it by two and put the result in y. Examples: ...
fast 6 Jahre vor
Gelöst
Replace Vector Elements
Replace all elements in a vector which are equal to or smaller than zero with 0.1. Example: A = [1 2 3 -1 0 2 -3 -80]; ...
fast 6 Jahre vor
Gelöst
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.
fast 6 Jahre vor
Gelöst
Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.
fast 6 Jahre vor
Gelöst
03 - Matrix Variables 6
Make _fMat_ be a 5x3 matrix of random integers with values from -3 to 3 (Hint: use *randi*)
fast 6 Jahre vor
Gelöst
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 ...
fast 6 Jahre vor
Gelöst
Back to basics 10 - Max Float
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive floating-point number MATLAB can han...
fast 6 Jahre vor