Community Profile

photo

Katalin


Last seen: oltre 3 anni fa Attivo dal 2017

Statistiche

All
  • Solver
  • Knowledgeable Level 1
  • First Answer

Visualizza badge

Content Feed

Visto da

Risolto


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

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

Risolto


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

quasi 4 anni fa

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

quasi 4 anni fa | 2

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

quasi 4 anni fa | 2

| accettato

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

oltre 6 anni fa | 0