Community Profile

photo

Andreas


Last seen: 14 giorni fa Attivo dal 2013

born in last century

Statistiche

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

Visualizza badge

Content Feed

Visto da

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Risolto


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

oltre 3 anni fa

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

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

oltre 4 anni fa | 2

Risolto


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

oltre 6 anni fa

Risolto


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

oltre 6 anni fa

Risolto


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

quasi 7 anni fa

Risolto


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

quasi 7 anni fa

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

oltre 7 anni fa | 2

| accettato

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

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

oltre 7 anni fa | 3

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Risolto


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

oltre 7 anni fa

Domanda


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

oltre 10 anni fa | 2 risposte | 0

2

risposte