Feeds
已解决
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 前
已解决
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 前
已解决
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 前
已解决
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 前
已回答
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. ...
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 前 | 2
已回答
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 ...
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 前 | 2
| 已接受
已回答
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...
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...
7 years 前 | 0