Community Profile

photo

Yaser Khojah


Last seen: 2 years ago Active since 2018

Statistics

  • Thankful Level 5
  • First Review
  • First Answer

View badges

Content Feed

View by

Question


An easy way for adding on pervious row that expands
I have two questions that are brought from my codes where I need to perform to jobs as below. Is there an easy approach as I hav...

2 years ago | 2 answers | 0

2

answers

Question


The longest consecutive values in a vector and the position at which it starts and ends
I have a large matrix where I want to find the value that has been repeated the most. Then define its starting and ending indexe...

2 years ago | 3 answers | 0

3

answers

Question


Changing the color of stacking bar plot with many groups
I have a big matrix with size of 28 X 10 and I used bar plot (stacking) to plot them. Now I'm struggling to change the color for...

3 years ago | 1 answer | 0

1

answer

Question


Converting all texts to numbers in a cell that has numbers and texts
Hello there, I have a structure (X) that contains text and numbers and I would like to convert them to a vector with numbers onl...

3 years ago | 1 answer | 0

1

answer

Question


Uploading an excel sheet that contains some texts
Dear there, I need a help with uploading an Excel sheet then converting everything to a matrix. My issue comes as there are some...

3 years ago | 1 answer | 0

1

answer

Question


Position of two subplots with bar and plot charts
Hello, I am trying to align two subplots; a bar and a bar plots. Thus, I used position but I still find them not alighted. Could...

3 years ago | 1 answer | 0

1

answer

Question


Channing color, marker size and type in a gscatter
I am trying to change the color in a gscatter plot with the maker size and type as below. I could not change the color and size....

3 years ago | 1 answer | 0

1

answer

Question


How to change the xticketlabe of a bar chat
I have two matrixes (x and y) that I want to plot using the bar chart. i just want to make the first bar in the plot on zero i...

3 years ago | 1 answer | 0

1

answer

Question


R-Squared for the robust linear regression
Hello there, I am trying to calculate the R-Squared by using the linear regression function (regress) and robust linear regressi...

3 years ago | 1 answer | 0

1

answer

Question


How to make a a certain range with different color in colorbar
I created a a contour plot and I would like to make the range between -50 and 0 different than the range 0 and 50 as below. Anwa...

3 years ago | 2 answers | 0

2

answers

Question


Best way to present histogram with different realisation number
I have two data sets as attached with different number of realisations and i want to compare between them. So, I created their h...

3 years ago | 2 answers | 0

2

answers

Question


Removing data1 from 3D Plot and change the color of colorbar
I have x, y, z which I wanted to create a fitting surface plot by using interpolation as below. Now, I want to remove the data1 ...

4 years ago | 0 answers | 0

0

answers

Question


Which method is MATLAB use in poly2 to do a curve fitting?
I'm using fit function to conduct a curve fitting for my data and estimate its equation as below. Now I want to know which metho...

4 years ago | 3 answers | 0

3

answers

Question


Updating the histogram in a correlation matrix after creating the matrix plot
I have this code which makes a correlation matrix. I want to create the matrix plot as below and later I want to update the hist...

4 years ago | 1 answer | 0

1

answer

Question


Plot some part of a correlation matrix
I need help please as I have the following correlation matrix, and would like to plot only the lower left part as the upper part...

4 years ago | 2 answers | 0

2

answers

Question


Showing x and y Labels in a Correlation Matrix Plot
Would you please help me to show m_{NPV} with their subscripts as below: VariableNames={'\sigma_{1}','\sigma_{2}','\sigma_{3}'...

4 years ago | 1 answer | 0

1

answer

Question


Compare two matrices and select max one based on the a column
I have two matrixes and I want to compare the last column. Then select the max one and the whole corresponding row. For exampl...

4 years ago | 2 answers | 0

2

answers

Question


Summing the row of a matrix that meet a condition from another matrix
I need help please and thanks for looking into this I have two Matrixes with the same size as A and B. As the following A =...

4 years ago | 1 answer | 0

1

answer

Question


How to change Y-axis in subplots of Boxplot on the same figure
I need help with creating 4 boxplots in one figure where in each subplot I would like to assign the ylim. In this example, the y...

4 years ago | 1 answer | 0

1

answer

Question


Split the data into group then graph them
I have a big matrix as [ENPV, SD, R]; I would like to split R into 3 groups based on criteria as Group 1 when R is betwe...

4 years ago | 1 answer | 0

1

answer

Question


How to update json file with MATLAB?
I have json file that is read by MATLAB script. I’m looking for a way to update the file since there are many to update. I know ...

4 years ago | 1 answer | 0

1

answer

Question


Find that max and its index for data with multiple data values per index
Hello, I looked around and found similar questions that have been answered (here 1 and here 2) but not sure how to find the...

4 years ago | 1 answer | 0

1

answer

Question


Greetings, Anyway to help to create ridgeline by MATLAB
Greetings, Anyway to help to create ridgeline by MATLAB as the attache link please? https://www.data-to-viz.com/graph/ridgeli...

4 years ago | 3 answers | 0

3

answers

Question


Adding additional information and drawing to explain the axis better
I have a script that creates a plot, but I would like to explain the axis in a better way. I have tried by adding additional inf...

4 years ago | 0 answers | 0

0

answers

Question


change the number of bins in corrplot function?
Hello, Is there anyway to change the number of bins in corrplot function? I would like to use 10 bins instead let MATLAB choos...

4 years ago | 1 answer | 0

1

answer

Question


'String scalar or character vector must have valid interpreter syntax:' for Sigma
Hello, I have this code, and I'm trying to type the sigma symbol, but it is not working. It works for different figures but no...

4 years ago | 1 answer | 0

1

answer

Answered
How to change the color of individual bars in a bar chart?
how would you show the legend color here?

4 years ago | 2

Question


How to change Variable names of corrplot
I'm trying to change the variables names of a corrplot from the default one, but It is not working. Can you please help Varia...

4 years ago | 1 answer | 0

1

answer

Question


Plotting multiple ecdf in one plot with specific line color and width
I'm plotting ecdf for a matrix where I want to chose the line color and type per column. I have this code but not sure how to ch...

4 years ago | 1 answer | 0

1

answer

Question


calling a matrix with different names in a for loop
I have three matrixes with different names as NPV_1, NPV2 and NPV_3. I have tried the below but It did not work. Can you please ...

4 years ago | 1 answer | 0

1

answer

Load more