Question

Reading Text Files with Numbers and String

Hi, this is a common question and I could not find an answer pertaining to my problem I have attached an excerpt of my textfile...

ungefär en månad ago | 1 answer | 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...

2 månader 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...

3 månader 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...

3 månader 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...

3 månader 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...

3 månader 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 ...

3 månader 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 ...

3 månader 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;

3 månader 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<=...

3 månader 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,...

3 månader 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...

4 månader 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...

4 månader 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...

4 månader 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...

10 månader 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...

ungefär ett år 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...

ungefär ett år 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...

ungefär ett år 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...

ungefär ett år 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...

ungefär ett år 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...

ungefär ett år 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...

ungefär ett år 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...

ungefär ett år 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 ...

ungefär ett år 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...

ungefär ett år 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...

ungefär ett år 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...

ungefär ett år 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. ...

mer än ett år 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...

mer än ett år 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_...

mer än ett år ago | 1 answer | 0