Statistik
0 Probleme
192 Lösungen
RANG
N/A
of 300.871
REPUTATION
N/A
BEITRÄGE
0 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
0
RANG
of 21.100
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 Discussions
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Gelöst
Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).
etwa ein Jahr 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...
etwa ein Jahr vor
Gelöst
Product of Each Column
Given a matrix |mat| with |n| columns, return a row vector |v| of length |n|, where every element in |v| is the product of the |...
etwa ein Jahr vor
Gelöst
Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...
etwa ein Jahr vor
Gelöst
Replacing a row
For matrix G=[1 2 3; 4 5 6; 7 8 9] Replace the 2nd row with 8s **remember to create matrix G
etwa ein Jahr vor
Gelöst
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 ...
etwa ein Jahr vor
Gelöst
Roots
Find out the roots of a given polynomial equation.Given are the coefficients of the equation.
etwa ein Jahr vor
Gelöst
Given a matrix, swap the 2nd & 3rd 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...
etwa ein Jahr 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: ...
etwa ein Jahr vor
Gelöst
Sum of series IX
What is the sum of the following sequence: Σ 1/k! for k=1...n for different n?
etwa ein Jahr vor
Gelöst
Volume and area of a sphere
Input(r) - radius Output([v,s]) - volume and area
etwa ein Jahr vor
Gelöst
Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...
etwa ein Jahr vor
Gelöst
Return 'on' or 'off'
When the input is true, return 'on', otherwise, return 'off'.
etwa ein Jahr vor
Gelöst
Back to basics 6 - Column Vector
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...
etwa ein Jahr vor
Gelöst
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
etwa ein Jahr vor
Gelöst
Calculate Inner Product
Given two input matrices, x and y, check if their inner dimensions match. If they match, create an output variable z which cont...
etwa ein Jahr vor
Gelöst
Is My Wife Wrong?
Answer the question. (see also <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right Problem 149: Is my ...
etwa ein Jahr vor
Gelöst
Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively
etwa ein Jahr vor
Gelöst
Sum of first n terms of a harmonic progression
Given inputs a, d and n, return the sum of the first n terms of the harmonic progression a, a/(1+d), a/(1+2d), a/(1+3d),....
etwa ein Jahr vor
Gelöst
How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...
etwa ein Jahr vor
Gelöst
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
etwa ein Jahr vor
Gelöst
Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input is n=4 th...
etwa ein Jahr vor
Gelöst
06 - Matrix Equations 2
Define the vectors _aVec_ and _bVec_: <<http://samle.dk/STTBDP/Assignment1_2a.png>> and <<http://samle.dk/STTBDP/Assig...
etwa ein Jahr vor
Gelöst
Who is the smartest MATLAB programmer?
Who is the smartest MATLAB programmer? Examples: Input x = 'Is it Obama?' Output = 'Me!' Input x = 'Who ?' Ou...
etwa ein Jahr 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 ...
etwa ein Jahr vor




