Question

Creating customized barplot for different lengths of arrays

I have data comes from three different sources. Each of [data1, data2, and data3] are column vectors with different lengths and ...

3 years ago | 1 answer | 0

Question

How to determine non-zero values from a string array?

I have following string array and I am trying to find out which string has value that are not equal to zero. I used str2num but ...

3 years ago | 1 answer | 0

Question

How to control Title/Xlabel/Ylabel?

I tried to use gca/gcf function to control (turn on/off title and change labels) but I wasn't able to navigate through it correc...

3 years ago | 1 answer | 0

Question

How to inner join two matrices?

I have following two matrices of data that contain three columns each, first two columns are GPS data (latitude, longitude) and ...

3 years ago | 1 answer | 0

Question

how do I add MEAN to Boxplot?

I am thinking about locating MEAN as a straight horizontal line or a symbol inside the boxplots for illustration purposes. I wou...

3 years ago | 1 answer | 0

Question

Adding FillPatterns to BoxPlot

I am hoping someone have an idea of how to add different color Fill Patterns illustrated below to BoxPlot using simplest way pos...

3 years ago | 0 answers | 0

Question

Why can't I add title to plot in R2013a?

I haven't used MATLAB in a while but last time I tried, I didn't have any issues with plotting function. Now when I am plotting ...

3 years ago | 1 answer | 0

Question

Why my bar chart missing x-axis values?

I am missing x-values on bar plot output also I am not satisfied with the way I coded the program? Any good hints? Thanks! ...

5 years ago | 1 answer | 0

Question

How to sum/group values in a matrix based on their index values in first column?!

I have the following 2-D array and would like to sum the values in second column based on their index values in frist column. Pl...

5 years ago | 1 answer | 0

Answered

Plotting Gamma Distribution, please help?

Change capital P-letter to small P-letter, MATLAB is case senstive! plot(pdf,X,'-');

Plotting Gamma Distribution, please help?

Change capital P-letter to small P-letter, MATLAB is case senstive! plot(pdf,X,'-');

5 years ago | 0

Question

Can you help me improve the code & speed of the nested for loop?

I wrote this part of the code this afternoon, it works fine but don't like it, any other options to write it a better way. S...

5 years ago | 0 answers | 0

Question

Improve performance, use logical indexing instead of FIND?!!

I was trying to improve my code but there is a message for the following code that I do not comprehend it. Any Solutions/idea/ex...

5 years ago | 1 answer | 0

Question

Anyone know how to import .tab MapInfo Table file into matlab?

I have some GPS coordinates and would like to show them on map. Anyone knows how to import MapInfo Table file (.*tab) into Matla...

5 years ago | 0 answers | 0

Question

Replace values like (-999) in matrix to zero with one statement?!

I am looking for replacing values (-999) in a matrix (m*3) to zero. I can do that using for/While loop but my program is going t...

5 years ago | 1 answer | 0

Question

How to Calculate area bining in MATLAB?

I have a matrix of size (Mx3).Column 1 & 2 are latitude and longitude, respectively. Column three is temperature value. I want t...

5 years ago | 0 answers | 0

Question

How to fade contour lines without contour lines?

Is there a way I can fade contour lines to the following code like the posted picture?! Thanks! <</matlabcentral/answers/u...

6 years ago | 0 answers | 0

Question

How to plot grey contour lines?

Hi, I have the following code and I am trying to add a GRAY color contour line but I can't?!! Any suggestions or ideas?! ...

6 years ago | 1 answer | 0

Question

Adding DEM to the following program doesn't work?

Hi, I am a beginner and want to apply DEM (Digital Elevation Model) to the following code, Any quick ideas?! figure ('N...

6 years ago | 0 answers | 0