Community Profile

Ayham Zedan

AUS

10 total contributions since 2016

View details...

Contributions in
View by

Solved

Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

Value of data become near zero after filter

nästan 2 år ago | 0

index for the saving values
I would really like to help you, but I can't since I cannot open live scripts.

nästan 2 år ago | 0

Solved

Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

nästan 4 år ago

Solved

Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

nästan 4 år ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

nästan 4 år ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

nästan 4 år ago

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

nästan 4 år ago

Question

How do I implement a buffer that saves data on a triger, and then a subsystem that works on this data?
I am working on a project where I have a correlator running, and once the correlation amplitude is above a certain value, I want...

ungefär 5 år ago | 0 answers | 0