Gelöst


Save variables
a=[1] Save variable a that is located in workspace into current folder. File name should be 'a.mat'

mehr als 5 Jahre vor

Gelöst


Solve equation numerically
y'=y In order to solve equation using computer, numerical analysis are needed. 1st order Euler's method is one of the metho...

mehr als 5 Jahre vor

Gelöst


Where is 1?
There is a 3d matrix [A] that consist of many zeros and only one. A=zeros(100,100,100); i=randi(100); j=randi(100); ...

mehr als 5 Jahre vor

Gelöst


Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

mehr als 5 Jahre vor

Gelöst


String Delimination and Outputting
In this problem, take an incoming string and deliminate the string based on spaces. Output the first string in between the space...

mehr als 5 Jahre vor

Gelöst


Find the sum of the largest two elements in a vector
With this one, you have to find the two largest elements in a vector and output the sum of those numbers.

mehr als 5 Jahre vor

Gelöst


Automatic String Editing
In this function, you will take an incoming string, and output the same string with each character one letter later in the alpha...

mehr als 5 Jahre vor

Gelöst


Find the mean of two vectors
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)

mehr als 5 Jahre vor

Gelöst


More Simple String Concatenation
Take the first string input, reverse the order of the string from the end to beginning (i.e. apple becomes elppa), add a space a...

mehr als 5 Jahre vor

Gelöst


Find the index of the lowest number in a matrix
Take a matrix, and find the [row cal] index of the lowest number

mehr als 5 Jahre vor

Gelöst


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

mehr als 5 Jahre vor

Gelöst


Pascal's triangle
<https://en.wikipedia.org/wiki/Pascal%27s_triangle> if the order is: x = 3; the output will be: output = [0 0 0 1 0 0 ...

mehr als 5 Jahre vor

Gelöst


No more zeros
Given an array with zeros at the beginning or at the end, you should get the output without these zeros: input = [zeros(5...

mehr als 5 Jahre vor

Gelöst


concatenate the elements
you should concatenate the elements of a matrix in one dimensional array, for example if the input is A = [1 2 3; 4 5 6; 7 ...

mehr als 5 Jahre vor

Gelöst


determine the sum of the squares
if x = 4, the solution will be: y = 1^2+2^2+3^2+4^2=1+4+9+16 = 30.

mehr als 5 Jahre vor

Gelöst


Vector indexing: lower than mean
Find all values in a vector lower than the mean of the vector

mehr als 5 Jahre vor

Gelöst


Calculate some equation
Using given inputs x and z, make two outputs that are y1 = (xz)/(x/z)^2 + 14x^2 - 0.8z^2 y2 = x^z - z^x + (x/z)^2 - (z/x...

mehr als 5 Jahre vor

Gelöst


sum all digits
input = 123456789, output = 1+2+3+4+5+6+7+8+9 = 45

mehr als 5 Jahre vor

Gelöst


Find x in provided equation!
x^2-2*x+1=0 This polynomial can be expressed by using each term's coefficients, such as [1 -2 1]. Using the polynomial ...

mehr als 5 Jahre vor

Gelöst


Replace 0 to NaN!
In given matrix A=[1 nan nan; 2 2 nan; nan nan 1]; replace NaN to 0. Use matrix A as a input.

mehr als 5 Jahre vor

Gelöst


Matrix of almost all zeros, except for main diagonal
Write a program to input an integer n and build a n-by-n matrix with the numbers 1,2,...,n on the main diagonal and zeros elsewh...

mehr als 5 Jahre vor

Gelöst


Replace Negative(-) by 0 and positive by 1
In a given Matrix Replace all element having *Negative sign with 0* and *Positive elements with 1* .

mehr als 5 Jahre vor

Gelöst


raise 1/3
Raise a number to 1/3 power.

mehr als 5 Jahre vor

Gelöst


Next Higher Power of B
|Given a number _n_ and a base _B_ greater than 1, return the lowest integer power of _B_ that is greater than or equal to _n_. ...

mehr als 5 Jahre vor

Gelöst


Triangle Numbers Below N
This is an offshoot of <http://www.mathworks.com/matlabcentral/cody/problems/5-triangle-numbers Cody Problem 5: Triangle Numbers...

mehr als 5 Jahre vor

Gelöst


prime test 2
enter the only non prime,non composite number

mehr als 5 Jahre vor

Gelöst


Volume of a sphere given its surface area
You just measured its surface area, that is the input.

mehr als 5 Jahre vor

Gelöst


Create a Multiplication table matrix...
Create a product table in this format: P = [ 1 2 3 4 5; 2 4 6 8 10; 3 6 9 12 15; 4 8 12 1...

mehr als 5 Jahre vor

Gelöst


area

mehr als 5 Jahre vor

Gelöst


How many bytes an image requires from RAM?

mehr als 5 Jahre vor

Mehr laden