Community Profile

photo

Zeynab Mousavikhamene


102 total contributions since 2019

Zeynab Mousavikhamene's Badges

  • First Review
  • Thankful Level 3
  • First Answer

View details...

Contributions in
View by

Question


Any trick to name a variable with decimal number?
I noticed that decimal number cant be used as the name of variable like "trd_0.45". Any trirck to solve the issue? I prefer to h...

2 days ago | 1 answer | 0

1

answer

Question


The end part of a set of cell arrays without loop
I have data like this: K>> aa(3:end) ans = 9×1 cell array {1×8 string} {1×8 string} {1×8 string} ...

3 days ago | 2 answers | 0

2

answers

Question


How to do some calculations on nonzero nonNAN elements of an array
I have an array of about 400*20 size and some of its members are NAN or zero. There is a second array of the same size which I n...

3 days ago | 1 answer | 0

1

answer

Question


how to subtract/divide corresponding rows and columns of two tables?
There are twoe tables that have the same number of columns and rows. How can I substractdivide each correpsonindg elelments? T...

6 days ago | 1 answer | 0

1

answer

Question


Copy the content of one table to an other table with different size
I need to copy the "GroupCount" of the first table to the second table. Second table has larger size and I need to copy the Grou...

11 days ago | 2 answers | 0

2

answers

Question


Group the array with similar strings
How can I find the strings that have similar string in them: A=['x_B1_0_s_0' , 'x_B1_0_s_1', 'x_B1_0_s_2', ' y_B1_2_s_0' , ...

14 days ago | 2 answers | 0

2

answers

Question


New column to a table with the dynamic name
I new to add a new column to a table. The name of column is like this: column_name=strcat('A_',num2str(se)); and then I will a...

15 days ago | 1 answer | 0

1

answer

Question


Delete middle rows in table
I need to delete rows 3 and 4 of this table and have the 5th and 6th rows to be rows 3 and 4. How can I do that?

19 days ago | 1 answer | 0

1

answer

Question


Dir function gives nothing
I am using Dir function to find the specific files that have cell in their names but it retunrs nothing although cell files are ...

20 days ago | 1 answer | 0

1

answer

Question


Reset the order of table columns
Is it possible to change the order of columns in matlab table? Lets assume 5th column is parameter A. Can I bring it to the firs...

20 days ago | 2 answers | 0

2

answers

Question


Is there any maximum for the size of matlab table?
I need to know if there is maximum for the number of rows and columns of the matlab table. For example is it ok to have around...

21 days ago | 1 answer | 0

1

answer

Question


Vary the thickness of plot
I am potting multiple plots on one axis and I want to vary the thickness of plots based on their absolute value. How can I do t...

25 days ago | 3 answers | 0

3

answers

Question


hold on for double plots in one loop
I am making two plots in a for loop one after an other. When the loop goes for the next i, I need to hold on the plot becaue I w...

1 month ago | 2 answers | 0

2

answers

Question


Extract number from file name
There are several files like this: K10_0.0.json, Mig_Thresh_2.0.json, K_5_6.5.json, WC_0.00051.json, ... and I need to extract t...

1 month ago | 2 answers | 0

2

answers

Question


Why array of strings are concatenated?
parameters=['K13','K24','K_52','K63','K74','K80','K101','K114','K162','MI','Ce','Ge','Pe']; When I use: size(parameters) I ge...

1 month ago | 2 answers | 0

2

answers

Question


The best method to organize my data
Let's assume we have several parameters like A, B, C, D, ..., Z. And then each parameter can take several values like: A=1,2,3,1...

1 month ago | 1 answer | 0

1

answer

Question


How to edit matlab saved file?
I have some tables and arrays saved as matlab file. I need to change some parts (not all) and save it. How can I do that? When...

1 month ago | 1 answer | 0

1

answer

Question


Changing the ASCII sort order format?
I use S = orderfields(S1) to sort order fields of strucutre array. I have 10 files named 1.jpg, 2.jpg upto 10.jpg. After usin...

1 month ago | 2 answers | 0

2

answers

Question


Sort the dir loaded files
I am using imagefiles = dir(fullfile(d, '*.jpg')); to get the jpg images in a folder that are named numerically like 1.jpg, 2....

1 month ago | 2 answers | 0

2

answers

Question


The directory of simulation
I am using this code to get all images in a folder by user: d = uigetdir(pwd, D); imagefiles = dir(fullfile(d, '*.jpg')); nf...

1 month ago | 1 answer | 0

1

answer

Question


Change image names systematically
I need to change the name of all images in a folder to numerical values like 1.jpg, 2.jpg, ... I am using this code to do so: ...

1 month ago | 1 answer | 0

1

answer

Question


Different error bar color than the plot
How can I set the error bar's color, thickness in the plot? As you can see the error bar has the same color with the plot. How ...

1 month ago | 1 answer | 0

1

answer

Question


More clear color bar
I use col = jet(length(KsTable.k_name)); to make color bar but the colors are not clear. I mean shades are close to each other a...

1 month ago | 1 answer | 0

1

answer

Question


Add missing rows to the table without loop
Attached is the table that I need to add missing rows to it. As you can see there is radius 25 and 33. I need to add radii from ...

1 month ago | 1 answer | 0

1

answer

Question


Disp() is not showing the whole sentence in the command window
I used disp() fucntion to show warning on the command window. Apparently, the sentence is longer than one line so it is not show...

1 month ago | 2 answers | 0

2

answers

Question


Not sure what exactly this sentence mean: "Locate the classpath.txt file for the MATLAB installation?"
I am trying to call java from matlab using instructions from here: https://www.mathworks.com/matlabcentral/answers/99993-how-d...

1 month ago | 1 answer | 0

1

answer

Question


Can I run java from matlab?
I have a java code that is ready and I need to just press "run" to start running. Because I have to do some processing before ru...

1 month ago | 1 answer | 0

1

answer

Question


How to exclude some additional points from plot legend?
The code generates plots in a loop and legend is given by an array contianing names. I am adding multiple single points at the e...

1 month ago | 2 answers | 0

2

answers

Question


why function name added to table column name?
I used sortrow to sort the columns of table and it worked but sortrow is added to each variable name of table. sortedtable=var...

1 month ago | 1 answer | 0

1

answer

Question


How to separate the elements of a table with their names?
Attached is the table. I need to plot rad vs k_val and total vs k_val for each individual k_name. The output would be TWO plots ...

1 month ago | 1 answer | 0

1

answer

Load more