Community Profile

photo

Katalin


Last seen: 3 years ago Active since 2017

Statistics

All
  • Solver
  • Knowledgeable Level 1
  • First Answer

View badges

Content Feed

View by

Solved


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

4 years ago

Solved


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

4 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

4 years ago

Solved


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

4 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

4 years ago

Solved


Who invented zero?
We know the importance zero in computer science, mathematics... but who invented zero? Clue: He was the first in the line ...

4 years ago

Answered
Index exceeds the number of array elements (5).
It is because: ex = poly([-1 1 -2 2]) This is a vector of 5 elements and you are trying to access element 6-10 in your loop. ...

4 years ago | 2

Answered
Optimization: I cant figure out why my while loop doesn't stop?
In this part you set yes == 0 in every loop before inc reaches 10000. So even if your other condition sets it to yes == 1, it ...

4 years ago | 2

| accepted

Answered
how to draw signal using different colour
Hi, A simple solution would be to plot the data always partially. plot(Data(1:N1,1),Data(1:N1,2),Data(N1+1:N2,1),D...

6 years ago | 0