INDETERMINABLE
Followers: 0 Following: 0
Statistiken
0 Probleme
78 Lösungen
RANG
N/A
of 289.919
REPUTATION
N/A
BEITRÄGE
0 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
0
RANG
of 19.607
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
Feeds
Gelöst
We love vectorized solutions. Problem 1 : remove the row average.
Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solution will be tested for ac...
mehr als 3 Jahre vor
Gelöst
Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...
mehr als 3 Jahre vor
Gelöst
Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. <http://en.wikipedia.org/wiki/Whole...
mehr als 3 Jahre vor
Gelöst
MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9
mehr als 3 Jahre vor
Gelöst
MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8
mehr als 3 Jahre vor
Gelöst
Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...
mehr als 4 Jahre vor
Gelöst
Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...
mehr als 4 Jahre vor
Gelöst
Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.
mehr als 4 Jahre vor
Gelöst
Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000
mehr als 4 Jahre vor
Gelöst
Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346
mehr als 4 Jahre vor
Gelöst
MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8
mehr als 4 Jahre vor
Gelöst
MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9
mehr als 4 Jahre vor
Gelöst
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
mehr als 4 Jahre vor
Gelöst
Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...
mehr als 4 Jahre vor
Gelöst
Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.
mehr als 4 Jahre vor
Gelöst
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
mehr als 4 Jahre vor
Gelöst
Add 3 numbers
In this problem, you have to add three numbers a, b and c. Give output d = add(a,b,c)
mehr als 4 Jahre vor
Gelöst
Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.
mehr als 4 Jahre vor
Gelöst
Calculate Resistance
Calculate Resistance R of a linear conductor having resistivity p, length l and area A
mehr als 4 Jahre vor
Gelöst
Calculate Resistance 2
In this problem, you have to calculate Resistance R of a linear conductor having voltage V across it and current I is passing i...
mehr als 4 Jahre vor
Gelöst
Matrix multiplication across rows
Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix Example ...
mehr als 4 Jahre 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 ...
mehr als 4 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.
mehr als 4 Jahre vor
Gelöst
Create a square matrix of multiples
Given an input, N, output a matrix N x N with each row containing multiples of the first element of each row. This also applies...
mehr als 4 Jahre vor