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

alrededor de 5 años hace | 0

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

alrededor de 5 años hace | 1

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

alrededor de 5 años hace | 0

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

alrededor de 5 años hace | 0

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

alrededor de 5 años hace | 0

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

alrededor de 5 años hace | 0

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

alrededor de 5 años hace | 1

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

alrededor de 5 años hace | 0

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

alrededor de 5 años hace | 0

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

alrededor de 5 años hace | 0

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

alrededor de 5 años hace | 0

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

alrededor de 5 años hace | 1

| aceptada

Resuelto


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

alrededor de 5 años hace

Resuelto


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

alrededor de 5 años hace