Andreas
Followers: 0 Following: 0
born in last century
Feeds
已解决
Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...
4 years 前
已解决
Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...
4 years 前
已解决
Divide by 4
Given the variable x as your input, divide it by four and put the result in y.
4 years 前
已解决
intersection of matrices
Given two matrices filled with ones and zeros, determine if they share a common row, column entry. These matrices are of identi...
4 years 前
已解决
We love vectorized solutions. Problem 1 : remove the row average.
Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solution will be tested for ac...
4 years 前
已解决
Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...
4 years 前
已解决
Piecewise linear interpolation
Given an Mx2 vector and a row of M-1 integers, output a two column vector that linearly interpolates Y times between each succes...
4 years 前
提问
Simulink Project ignore files and folders
I'm using Simulink Project in R2017b to organize my project. Within the project folder, I have some files which should not be p...
5 years 前 | 1 个回答 | 2
1
个回答已回答
Why am I getting different matrices in workspace and command window?
I can't see any difference. Have you already seen the common factor of 1.0 e3 at the top of your command window output?
Why am I getting different matrices in workspace and command window?
I can't see any difference. Have you already seen the common factor of 1.0 e3 at the top of your command window output?
5 years 前 | 2
已解决
Sums of Distinct Powers
You will be given three numbers: base, nstart, and nend. Write a MATLAB script that will compute the sum of a sequence of both ...
7 years 前
已解决
The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...
7 years 前
已解决
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 ...
7 years 前
已解决
Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>
7 years 前
已回答
Use of any-function in simulink
Easy answer: The OR-Block is exactly what I need. I wrote too many .m-Scripts.
Use of any-function in simulink
Easy answer: The OR-Block is exactly what I need. I wrote too many .m-Scripts.
8 years 前 | 2
| 已接受
提问
Use of any-function in simulink
I want to find out wheter an input signal's value is included in an array or not. In Matlab, I would use such code: a = ...
8 years 前 | 1 个回答 | 0
1
个回答已回答
How can I select a system/model without opening it?
This topic is very old, but I'm really interestedin this feature. Is there any new functionality within simulink api?
How can I select a system/model without opening it?
This topic is very old, but I'm really interestedin this feature. Is there any new functionality within simulink api?
8 years 前 | 3
已解决
Make a full wave rectifier
Produce a full wave rectifier waveform for the given sine wave source. For a sine wave input, the output of the full wave rec...
8 years 前
已解决
Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...
8 years 前
已解决
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
8 years 前
提问
Access to Excel-Worksheet-Cells Property
I want to access some excel data with a loop over some rows and columns. With vba, I am used to do this with the cell-property ...
11 years 前 | 2 个回答 | 0