Community Profile

photo

Andreas


Last seen: 1 day ago Active since 2013

born in last century

Statistics

All
  • Thankful Level 1
  • First Answer
  • Scavenger Finisher
  • Solver

View badges

Content Feed

View by

Solved


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

3 years ago

Solved


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

3 years ago

Solved


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

3 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Solved


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

3 years ago

Question


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

4 years ago | 1 answer | 0

1

answer

Answered
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?

4 years ago | 2

Solved


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

6 years ago

Solved


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

6 years ago

Solved


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 ago

Solved


Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

7 years ago

Answered
Use of any-function in simulink
Easy answer: The OR-Block is exactly what I need. I wrote too many .m-Scripts.

7 years ago | 2

| accepted

Question


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

7 years ago | 1 answer | 0

1

answer

Answered
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?

7 years ago | 3

Solved


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

7 years ago

Solved


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

7 years ago

Solved


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

7 years ago

Question


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 ago | 2 answers | 0

2

answers