Feeds
질문
Output of a mex file is not the same as the recursively-written computational routine
Hi, I've recursively written a C source .mex file (function) that encodes a given input of 1xN array and outputs a 1xN encoded ...
7년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to get a pointer to 2D array when writing a C source Mex file?
Hi, I'm trying to write a highly simple C source .mex file (function) that takes a 1 x n vector and n x n matrix, and yields th...
7년 초과 전 | 답변 수: 2 | 0
2
답변문제를 풀었습니다
How to subtract?
* Imagine you need to subtract one number from another using MATLAB. * You will not be using eval for this task. * Given two A...
8년 초과 전
문제를 풀었습니다
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
8년 초과 전
문제를 풀었습니다
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...
8년 초과 전
문제를 풀었습니다
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:...
8년 초과 전


