질문

Isolating a single pulse by removing noise

I hope my title wasn't misleading, I simply want to remove the oscillatory noise from the pulse I obtain from a monostable multi...

2달 전 | 답변 수: 1 | 0

질문

Saving Data In A For Loop Into An Array

This seems like a basic question, but I can't seem to figure it out. I have data for multiple spirals and I want all the x,y an...

3달 전 | 답변 수: 1 | 0

질문

Fixing a plotting problem over a fixed axes

I want the below spirals to be evenly spaced (in both x and y axes). I am hoping distance between the rows and columns of the h...

3달 전 | 답변 수: 1 | 0

질문

Creating a Helix Spiral

I want to create a helix sprial. I wish to have control over changing the radius of the spiral, the gap between each layer and t...

3달 전 | 답변 수: 1 | 0

질문

Problem with the Color Bar

My color bar shows solid boundaries and does not blend together. Below I have attached my problem, I rather want it to look...

4달 전 | 답변 수: 1 | 0

답변 있음

Create plot with multiple overlayed lines, where colorbar corresponds to color of line

Hope this helps clc; close; clear time = 0:0.1:5; %seconds A = 10; %number of plots colormap(jet(10)) jetcustom = jet(1...

Create plot with multiple overlayed lines, where colorbar corresponds to color of line

Hope this helps clc; close; clear time = 0:0.1:5; %seconds A = 10; %number of plots colormap(jet(10)) jetcustom = jet(1...

4달 전 | 2

| 수락됨

질문

Checking whether one row of an array is equal to the rows in a separate array

I trying to compare one row of an Array A with all the rows in another array B of the same size, the logical answer will be used...

4달 전 | 답변 수: 1 | 0

질문

Getting colors using RGB values w/ scatter3

I am trying to get grey colored plot points on my 3D scatter plot, I am unfamiliar with scatter3. From the error messages I am g...

4달 전 | 답변 수: 1 | 0

질문

Text Boxes on MATLAB not showing up

The text boxes are not showing up for my plot, I am not getting an error message either. Let me know what is wrong in this code ...

5달 전 | 답변 수: 1 | 0

질문

Flipping the x labels in a plot

This question was asked and answered many times, but I can't seem to find the correct answer to my problem. I want to switch th...

5달 전 | 답변 수: 1 | 0

질문

Changing color of graphs in MATLAB plot

I have a basic plot command that is in a loop, and each iteration spits out a graph on the same figure. There would be about 7...

5달 전 | 답변 수: 1 | 0

질문

How to obtain data from elements in cell arrays

I have a cell array A that is a 1x1600 cell. Each element in the cell has a 2500x3 array. I need to take the second column of...

5달 전 | 답변 수: 1 | 0

질문

How to isolate one pulse from a periodic pulse train

I want to isolate on pulse from this waveform, the data is in a CSV file and the 2 columns contain time data and voltage data. ...

5달 전 | 답변 수: 1 | 0

질문

Importing CSV files into MATLAB

I am trying to import multiple CSV data files into MATLAB without manually doing so (by hard coding), I want the data as a doubl...

6달 전 | 답변 수: 1 | 0

질문

Why am I getting the error "Invalid or Deleted Object"

This is my code %constants A and B calculations y1 = Mean(1); x1 = Mean_step(1); initial = y1*x1; y2 = Mean(2); x2 = Mean_...

6달 전 | 답변 수: 1 | 0

질문

What's the best way to shorten this?

This is a very lengthy code for something repetitive, I want to know whether there is a simpler, more efficient way of doing thi...

6달 전 | 답변 수: 2 | 0

질문

Text Box location Issue

Hi, I have an animated plot that changes axis limits as it updates, the text I have (which is docked to a certain location of t...

7달 전 | 답변 수: 1 | 0

질문

How to save animated plots

Hi I have an animated plot, and I want to save it - possibly an animation, and I want to know how to do it?

7달 전 | 답변 수: 1 | 0

질문

How to highlight a moving data point

Hi, I have an animated plot, the dynamic graph is a mathermatical model based on the 2 points on the other static graph. The ...

7달 전 | 답변 수: 1 | 0

질문

Continuously overwriting plot in a loop

Dear MATLAB Gods, I have a plot in a loop that changes after each iteration, currently I have a hold on...hold off line which p...

7달 전 | 답변 수: 1 | 0

질문

Changing color of the Matlab plot at different ranges

Hi, I want to have the below graph in two colors, the y-values > 600 should be red. Right now I have a basic plot command. ...

8달 전 | 답변 수: 1 | 0

질문

Removing a Range of Elements from an array

Hi, I have a matrix M and I am interested in the 12th column which has elements [1 2 3 4..... 540 589 760 761 770 47 46 47 48]...

8달 전 | 답변 수: 2 | 0

질문

Reducing a vector size when it is being updated in a loop

Hi, I have a vector A that is being updated in a loop, A contains data from a Trial, and the length of it changes with each it...

8달 전 | 답변 수: 1 | 0

질문

Switching the elements of an array

hi, I am plotting data from 2 vectors, the x-axis elements (in a vector called M) needs to be flipped and make the first ele...

8달 전 | 답변 수: 1 | 0

질문

Fitting an Equation on to graph

I have a graph with the approximate shape of 1/x type. I wish to fit it with the equation 1/(x-A) +B . How can I fit a particula...

8달 전 | 답변 수: 1 | 0

질문

Switching scales on x axis

I am trying to swap the numbers on the x axis, which represents a distance of the plates of a capactior. Basically the capacitan...

8달 전 | 답변 수: 1 | 0

질문

Matrix element changing with loop

I keep getting Dimensions of matrices being concatenated are not consistent error. for k=1:61 a(:,k)=angle(k,:); A=[c...

9달 전 | 답변 수: 1 | 0

질문

Taking the second derivative

I have two arrays M and V, both are the same dimesions. I am trying to find and plot this vs. M, this is the code I am working...

10달 전 | 답변 수: 1 | 0

질문

Changing the Title of a plot in a nested loop

I have a Nested Loop that runs multiple iterations, and each iteration is going to spit out a plot. I want to know whether th...

10달 전 | 답변 수: 1 | 0

질문

Removing Extreme Value from Colorbar

I am working with a 3D scatter plot that is mapping the X,Y, and Z positions of a certain body, the time spent at each point is ...

10달 전 | 답변 수: 1 | 0