Community Profile

photo

ubaid haroon


Last seen: 2 years ago Active since 2016

Statistics

All
  • Thankful Level 1
  • First Answer
  • Commenter
  • Solver

View badges

Content Feed

View by

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:...

5 years ago

Solved


How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

6 years ago

Question


How to hold on with visible off for plots
I am running a loop iloop = 1:23 and plotting data 23 times on a scatter plot. This job is currently running on a cluster so I ...

6 years ago | 0 answers | 0

0

answers

Answered
Soundsc and sound not Playing anything
It just keeps loading and doesn't play anything. I can't even CTRL+C to stop this. I have to force exit matlab. I am facing the ...

6 years ago | 0

Question


Clustering or linking data
I have a data set of 10 different objects. Each column of this data set has Time ,Position(X,Y,Z), Velocity(X,Y,Z), and Accel...

6 years ago | 1 answer | 0

1

answer

Question


How does the command unique work?
Hello, Someone at my work told me to use unique to get some values out of the array. The array is stored with values [2 3 10...

7 years ago | 1 answer | 0

1

answer

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

7 years ago

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

7 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

7 years 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 ...

7 years ago

Solved


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

7 years 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...

7 years ago

Answered
How can i put my output numbers in for loop to an array
what would you do if during the loop, those arrays are different lengths?

7 years ago | 0

Question


compare and store information of different length into an array
I am taking out information from arrays by doing something like this from a for loop distance(ID == x) , where x = [ 1:9 ] ...

7 years ago | 1 answer | 0

1

answer

Answered
How to index and replace
I see it now. Wow that was easy. Thank you!

7 years ago | 0

Question


How to index and replace
Hello, I am trying to learn MATLAB and decided to use the MIT course to look at the slides and I figure the homework would be...

7 years ago | 2 answers | 0

2

answers

Question


How can I place all the values less than 1 into a new array
Lets say I have an array x = [ 1 2 3 4 5 6 0 1 0 4 0 8 0 8 6 0], from which I want to read only the zeros and place them in a ne...

7 years ago | 1 answer | 0

1

answer

Question


How to create a signal using step block in simulink where the input is varying
I am trying to create a Step function in Simulink that goes from 0 to 4 seconds and step is changing 1 second. I want step to c...

8 years ago | 1 answer | 1

1

answer