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

bijna 4 jaar 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...

bijna 4 jaar 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 ...

bijna 4 jaar 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...

bijna 4 jaar 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...

bijna 4 jaar 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...

bijna 4 jaar 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.

bijna 4 jaar 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...

bijna 4 jaar 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 ...

bijna 4 jaar 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...

bijna 4 jaar 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 ...

bijna 4 jaar 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...

bijna 4 jaar 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...

bijna 4 jaar ago

Solved

Determine if input is odd

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

bijna 4 jaar 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...

bijna 4 jaar 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:...

bijna 4 jaar 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...

bijna 4 jaar 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.

bijna 4 jaar 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 ...

bijna 4 jaar 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...

bijna 4 jaar 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.

bijna 4 jaar 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...

bijna 4 jaar ago | 0