Solved

How many trades represent all the profit?

Given a list of results from trades made: [1 3 -4 2 -1 2 3] We can add them up to see this series of trades made a profit ...

mer än 3 år ago

Solved

Flag largest magnitude swings as they occur

You have a phenomenon that produces strictly positive or negative results. delta = [1 -3 4 2 -1 6 -2 -7]; Marching thr...

mer än 3 år ago

Solved

Given a window, how many subsets of a vector sum positive

Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

mer än 3 år 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...

mer än 3 år ago

Solved

Swap the first and last columns

Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

mer än 3 år ago

Solved

Implement simple rotation cypher

If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

mer än 3 år ago

Solved

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.

mer än 3 år ago

Solved

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

mer än 3 år ago

Solved

Find all elements less than 0 or greater than 10 and replace them with NaN

Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

mer än 3 år ago

Solved

Triangle Numbers

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

mer än 3 år ago

Solved

Column Removal

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

mer än 3 år ago

Solved

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

mer än 3 år 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...

mer än 3 år ago

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

mer än 3 år ago

Solved

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

mer än 3 år ago

Solved

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

mer än 3 år ago

Answered

Why the phase-phase voltage and current measurement are like this?

your reference point for DC side is not right. to measure the DC side voltage, you should measure the DC+ to DC-, not to the gro...

Why the phase-phase voltage and current measurement are like this?

your reference point for DC side is not right. to measure the DC side voltage, you should measure the DC+ to DC-, not to the gro...

mer än 3 år ago | 0

Answered

how i can give pulse to gate of IGBT

I make a simple one, you can have a look.

how i can give pulse to gate of IGBT

I make a simple one, you can have a look.

mer än 3 år ago | 0

| accepted

Answered

Can anyone help me identify why my data for a bandpass filter does not match the theory curve?

how did you get the data of different frequencies? by sweep frequency (eg. 1Hz to 100Hz, 10Hz/s variation)? the filter has some ...

Can anyone help me identify why my data for a bandpass filter does not match the theory curve?

how did you get the data of different frequencies? by sweep frequency (eg. 1Hz to 100Hz, 10Hz/s variation)? the filter has some ...

mer än 3 år ago | 0

Answered

how i can give pulse to gate of IGBT

you have to know something. 1. when the DC is 24V, the maximum output voltage(RMS value) is 20V so if you want a 220V volta...

how i can give pulse to gate of IGBT

you have to know something. 1. when the DC is 24V, the maximum output voltage(RMS value) is 20V so if you want a 220V volta...

mer än 3 år ago | 0

Answered

Excelのデータから作成したグラフとSimulinkのグラフを同じグラフ上に表示させたい．

maybe you should upload your data and let us know the detail, then we can try to help you.

Excelのデータから作成したグラフとSimulinkのグラフを同じグラフ上に表示させたい．

maybe you should upload your data and let us know the detail, then we can try to help you.

mer än 3 år ago | 0

Answered

Filtering Noise from a random time domain signal

you can use a lowpass filter to smooth the signal, but it affact you to detecct the peak. FFT is used for periodic signals, and...

Filtering Noise from a random time domain signal

you can use a lowpass filter to smooth the signal, but it affact you to detecct the peak. FFT is used for periodic signals, and...

mer än 3 år ago | 0