已回答
Errorbars on two seperate curves starting from a particular point
I think the command you are looking for is: errorbar(x,y,neg,pos): draws a vertical error bar at each data point, where neg det...

5 years 前 | 0

已回答
Arduino Nano, 40 kHz PWM output wave
Note: Nano 2.X is not supported. Other Nano 3.X not tested but expected to work. I've found a few useful links to get you star...

5 years 前 | 1

已回答
How do I plot a line showing the distance between two points?
You can use the 'line' function to plot lines on existing axes. Refer to the following document for the same: https://www.mathw...

5 years 前 | 0

已回答
Indexing Values from a structure array
You can use logical indexing to obatin the non zero values from the structure arrays as per the code below: Positive_Torque_V...

5 years 前 | 0

已回答
Use refreshdata with voronoi plots
I don't think voronoi was designed to support the refreshdata workflow. voronoi is just a function which plots and returns ha...

5 years 前 | 0

已回答
Please help me make this function periodic
You can repeat copies of an array along any dimension using the 'repmat()' function. This will allow you to generate a periodic ...

5 years 前 | 0

已回答
How to merge two interleaving time series?
I'm assuming, you don't have any gaps in your time series data. One way of doing this would be to put you time series data in...

5 years 前 | 1

已回答
Problem when plotting a matrix
From what I understand, you want to plot the values of 'abs(log(Z1shift))' matrix in a particular range. imagesc(x,y,C) specifi...

5 years 前 | 0

已回答
Plot infinite series for displacement function
From what I understand, you want to calculate the value of v(x, t) for the first 5 values of j for the instances t = 0 - 0.9, an...

5 years 前 | 0

已回答
Callback on radiobutton change with arrow keys
If the user presses a key on a 'UIControl' or 'Table' component, the callback does not execute unless the Enable property is se...

5 years 前 | 0

已回答
Get outputs of blocks of a given type in system target
You can get the handles to all the blocks of a particular type using 'Simulink.findBlocksOfType('<model_name>', '<type_of_block>...

6 years 前 | 0

已回答
Echocardiogram and image processing
First load the image into the workspace by dragging and dropping the .PNG file into the MATLAB window. A new window will open up...

6 years 前 | 1

| 已接受

已解决


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

6 years 前

已解决


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

6 years 前