Community Profile

photo

Erik Newton


Newtek Software Ltd.

Last seen: 거의 3년 전 2009년부터 활동

Professional Matlab/Simulink Consultant
Professional Interests: System Modelling

통계

All
  • 5-Star Galaxy Level 1
  • First Submission
  • Solver

배지 보기

Content Feed

보기 기준

질문


How do you name S-Function parameters which default to P1, P2 etc
For many years now I have noticed that when I write a c-code S-function, in the rtw file, my parameters end up just being called...

거의 8년 전 | 답변 수: 0 | 0

0

답변

문제를 풀었습니다


Create a dictionary
The goal is to write a function that returns a dictionary from a list of words or phrases and their definitions. Here is an exam...

대략 8년 전

질문


License problems when running MATLAB from Jenkins on Mac
I'm experimenting with running MATLAB from Jenkins, which essentially boils down to (I think) needing to run MATLAB from a syste...

대략 10년 전 | 답변 수: 1 | 0

1

답변

문제를 풀었습니다


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

10년 초과 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

10년 초과 전

문제를 풀었습니다


Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1

10년 초과 전

문제를 풀었습니다


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

10년 초과 전

문제를 풀었습니다


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

10년 초과 전

문제를 풀었습니다


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

10년 초과 전

문제를 풀었습니다


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

10년 초과 전

문제를 풀었습니다


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

10년 초과 전

문제를 풀었습니다


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

10년 초과 전

문제를 풀었습니다


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

10년 초과 전

문제를 풀었습니다


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

10년 초과 전

제출됨


fitpath
Gracefully truncate a file path to fit into uicontrols.

대략 15년 전 | 다운로드 수: 1 |

Thumbnail