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

más 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...

más 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...

más 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...

más 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...

más 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 ...

más 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...

más 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...

más 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...

más 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...

más 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>...

más 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...

más 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 ...

más de 5 años hace

Resuelto


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

más de 5 años hace