Question

Error when manipulating colorbar axis, caxis

I am trying to set the max value of the relevant array, with data being plotted, as the +/- boundares of my colorbar inorder to ...

15 jours ago | 0 answers | 0

Question

Tools used for Sparse Matrix Efficiency

I have read documentation and the MATLAB community answers regarding this and I found a lot of helpful information about the pow...

26 jours ago | 3 answers | 1

Question

editing the JET colormap

I want to edit the jet colormap such that it reflects that values of 0 are shown in white, I followed the below code and the fol...

environ un mois ago | 2 answers | 0

Question

Formatting the JET colormap

I am familiar with colormapeditor but every time I type it in the command window, after setting colormap to jet, I edit the paru...

environ un mois ago | 1 answer | 0

Question

3D grid from a large 3D matrix

I have a 3D matrix, .mat file attached in this thread, which has a 200x200x600 matrix has 5021 non-zero values and 23.9 million...

environ un mois ago | 1 answer | 0

Question

3D plot from 3D matrix

I read through the forums to help answer my questions before submitting a question. Eventhough there were similar questions aske...

environ 2 mois ago | 1 answer | 0

Question

Faces of a Cube - Multifaceted Patches Documentation

Hi, I was reading the literature on MathWorks Documentation regarding Multifaceted Patches and I am not able to understand how ...

environ 2 mois ago | 2 answers | 0

Question

Nested If-ELSEIF statements

I tried looking up this question in litreature and the forum and I couldn't find anything pertaining to my situation. I have ...

environ 2 mois ago | 2 answers | 0

Question

Converting C++ to MATLAB: statement

I am trying to convert the below C++ line to MATLAB, any help appreciated A[index1d(x,y,z)] += B[i]*W;

environ 2 mois ago | 1 answer | 0

Question

C++ to MATLAB: for loops

currently working on converting C++ to MATLAB not proficient in C++ and this is a for loop Help appreciated for(offx=0;offx<=...

environ 2 mois ago | 1 answer | 0

Question

How to Save multiple results into one array

This seems simple, but I can't wrap my head around it I am trying to save 2 variables that are output from the mink, where k=2,...

environ 2 mois ago | 2 answers | 0

Question

Sorting numbers according to elements of an array

Sorry for the vague title, I asked a similar question earlier very poorly and I extracted the most fundamental concept that I am...

2 mois ago | 2 answers | 0

Question

Sorting elements according to an array

I will try my best to phrase this question, hope it makes sense I have 2 arrays, DATA which has useful data and SCALE which has...

2 mois ago | 1 answer | 0

Question

How to edit grid lines on a 3D plot

I am trying to change the traditional grid on a MATLAB figure to one that I have calculated according to my data points. I have...

3 mois ago | 1 answer | 0

Question

Plotting the integral of a graph

Hi, I have a graph of a waveform that I want to find the integral plot of this waveform (shown below). Could this be done on MA...

8 mois ago | 1 answer | 0

Question

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

11 mois ago | 1 answer | 0

Question

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

12 mois ago | 1 answer | 0

Question

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

12 mois ago | 1 answer | 0

Question

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

12 mois ago | 1 answer | 0

Question

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

environ un an ago | 1 answer | 1

Answered

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

environ un an ago | 2

| accepted

Question

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

environ un an ago | 1 answer | 0

Question

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

environ un an ago | 1 answer | 0

Question

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

environ un an ago | 1 answer | 0

Question

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

environ un an ago | 1 answer | 0

Question

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

environ un an ago | 1 answer | 0

Question

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

environ un an ago | 1 answer | 0

Question

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

environ un an ago | 1 answer | 0

Question

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

environ un an ago | 1 answer | 0

Question

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

environ un an ago | 1 answer | 0