Feeds
질문
Removing an item of an enumerated array
I want to remove an array item from an enumerated array. The enumeration class 'ValueFlag' is derived from int16. a = ValueF...
대략 12년 전 | 답변 수: 0 | 0
0
답변질문
Global exception handling in a GUI class
Hi, I have a class that represents a GUI window and want to display any kind of exception that occurs in any class method as ...
12년 초과 전 | 답변 수: 1 | 1
1
답변문제를 풀었습니다
Make a 1 hot vector
Make a vector of length _N_ that consists of all zeros except at index _k_, where it has the value 1. Example: Input ...
대략 13년 전
문제를 풀었습니다
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 ...
대략 13년 전
문제를 풀었습니다
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
대략 13년 전
문제를 풀었습니다
Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...
대략 13년 전
문제를 풀었습니다
Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...
대략 13년 전
문제를 풀었습니다
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...
대략 13년 전
문제를 풀었습니다
Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...
대략 13년 전
문제를 풀었습니다
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
대략 13년 전
문제를 풀었습니다
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:...
대략 13년 전
질문
Timeseries-object with daylight saving time
Hello, i use a timeseries-object whose Time-vector consists of serial-date-numbers. At the end of the daylight saving time we...
대략 13년 전 | 답변 수: 1 | 0
1
답변질문
Displaying a subclass of timeseries in the Variable Editor
Hello, an object of the Matlab-builtin timeseries-class has a special appearance in the Variable Editor: the time-vector is d...
13년 초과 전 | 답변 수: 1 | 0

