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

3 years ago

Answered
How to convert a .mat file to a .set file in MatLab?
Dear Khan Muhammad Adeel Khan, It is necessary to input the correct dimensions of the input data (such as number of samples, nu...

4 years ago | 1

| accepted

Answered
How to convert a .mat file to a .set file in MatLab?
Hi, you may use the GUI to load the array: File>>Import Data>> Using EEGLab functions and plugins>>from ASCII/float file or Matl...

4 years ago | 0

Answered
How can I plot a graph in X,Z axis and Y,Z axis in a same graph?
Hi, you can try one of these options: plot([x(:), y(:), z(:)]); plot3(x,y,z); scatter3(x,y,z); surf(x,y,z); stem3(x,y,z,'Ma...

4 years ago | 0

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

4 years ago

Solved


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

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

4 years ago

Solved


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

4 years ago

Solved


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

4 years ago

Solved


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

4 years ago

Solved


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

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

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

4 years ago

Answered
Could someone please explain me the inverter control technique used in "power_PVarray_250kW", a shipped model of MATLAB?
Hi, Soumya Sinha. The inverter in "power_PVarray_250kW" is a conventional three-phase PWM 3-level IGBTs Bridge with DC-AC conve...

4 years ago | 0

Answered
How to shift a signal in simulink by 90 degrees?
Dear Saleh Shlimet, Hi, have you try by using Variable Phase Shift [1] or Complex Phase Shift [2]? [1] https://www.mathworks....

4 years ago | 0

Answered
Measure current, voltage, and impedance for AC Circuit
Hi, BAM. You can measure current and voltage of an AC circuit by using "Simscape / Electrical / Specialized Power Systems / Fun...

4 years ago | 0

| accepted

Answered
i can't connect a simscape
Hi, you may need to use Simulink-PS converter to connect Simulink sources (in your case, it is a signal generator) or other Simu...

4 years ago | 0