Community Profile

photo

cool


Central South University

25 total contributions since 2016

Contact

cool's Badges

  • Revival Level 1
  • Knowledgeable Level 1
  • First Answer
  • Commenter
  • Solver

View details...

Contributions in
View by

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

meer dan 3 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...

meer dan 3 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 ...

meer dan 3 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...

meer dan 3 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...

meer dan 3 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...

meer dan 3 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.

meer dan 3 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...

meer dan 3 jaar ago

Answered
measure phase of a sine wave
your question is not clear

meer dan 3 jaar ago | 0

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

meer dan 3 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...

meer dan 3 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 ...

meer dan 3 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...

meer dan 3 jaar ago

Solved


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

meer dan 3 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...

meer dan 3 jaar ago

Solved


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

meer dan 3 jaar ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

meer dan 3 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...

meer dan 3 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:...

meer dan 3 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...

meer dan 3 jaar ago | 0

Answered
how i can give pulse to gate of IGBT
I make a simple one, you can have a look.

meer dan 3 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 ...

meer dan 3 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...

meer dan 3 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.

meer dan 3 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...

meer dan 3 jaar ago | 0