Question

How to make a moving transmitter in simulink

I have the transmitter block, opened up to the source code. Decided that was the worng idea. Then I found the platform block whi...

4 years ago | 0 answers | 0

Question

How to replace every non-0 number with the number in that place added to another number - no loops

Say I have a matrix I want to loop in a cell in the matrix and change that particular cell to itself added to another number. I ...

4 years ago | 2 answers | 0

Question

Recursive function to reverse a vector

The question is to write a function to reverse a vector so v=[1 2 3] becomes v= [3 2 1] It must be recursive So my idea how to...

4 years ago | 3 answers | 0

Question

I want to make a recursive function that sums all the digits in a number

So this is the actual question Write a recursive function that computes the sum of the digits provided as an input argumenet. N...

4 years ago | 1 answer | 0

Question

How to make a square wave with a pulse

So I want to make a wave that is on for 1ms and off for 1ms, lasting for 10ms. Is ther a function I can use to do this?

4 years ago | 1 answer | 1

Question

How to create a square wave pulse

How do I create a square wave pulse, I don't really mind the gap between pulses but it must go on for 10ms. I dont mind the frea...

4 years ago | 2 answers | 0

Question

Low Pass Filter Matlab Coder

the lowpass function is not supported by matlab coder, how do I make something that will do the same function and be supported b...

4 years ago | 1 answer | 0

Question

image and signal processing

I have generated a signal abd made it into an image using mat2gray and bwboundaries, found the frequency and the power of the si...

4 years ago | 2 answers | 0

Question

How do I check to see if the elements in a matrix are all equal?

So if I have matrix A=[1 1 1 ; 1 1 1 ; 1 1 1] I would like to run a check so check if all the elements in the matrix are the sam...

4 years ago | 1 answer | 1

Question

How can I work out the rate of change for my experimental data?

I have a set of experimental data I have plotted, I'd like a second graph demonstrating the rate of change of one of the variab...

6 years ago | 1 answer | 0