Community Profile

# Zeynab Mousavikhamene

103 total contributions since 2019

View details...

Contributions in
View by

Question

Multiple function handle in varfun
I need to calculate the mean and STD of elements of table and the resulting table show me the mean and std in two columns next t...

8 días ago | 1 answer | 0

### 1

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

12 días ago | 1 answer | 0

### 1

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

13 días ago | 2 answers | 0

### 2

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

13 días ago | 1 answer | 0

### 1

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

16 días ago | 1 answer | 0

### 1

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

21 días ago | 2 answers | 0

### 2

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

24 días ago | 2 answers | 0

### 2

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

25 días ago | 1 answer | 0

### 1

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?

29 días ago | 1 answer | 0

### 1

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

30 días ago | 1 answer | 0

### 1

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

alrededor de 1 mes ago | 2 answers | 0

### 2

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

alrededor de 1 mes ago | 1 answer | 0

### 1

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

alrededor de 1 mes ago | 3 answers | 0

### 3

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

alrededor de 1 mes ago | 2 answers | 0

### 2

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

alrededor de 1 mes ago | 2 answers | 0

### 2

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

alrededor de 1 mes ago | 2 answers | 0

### 2

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

alrededor de 1 mes ago | 1 answer | 0

### 1

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

alrededor de 1 mes ago | 1 answer | 0

### 1

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

alrededor de 1 mes ago | 2 answers | 0

### 2

Question

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

alrededor de 1 mes ago | 2 answers | 0

### 2

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

alrededor de 1 mes ago | 1 answer | 0

### 1

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

alrededor de 1 mes ago | 1 answer | 0

### 1

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

alrededor de 2 meses ago | 1 answer | 0

### 1

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

alrededor de 2 meses ago | 1 answer | 0

### 1

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

alrededor de 2 meses ago | 1 answer | 0

### 1

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

alrededor de 2 meses ago | 2 answers | 0

### 2

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

alrededor de 2 meses ago | 1 answer | 0

### 1

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

alrededor de 2 meses ago | 1 answer | 0

### 1

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

alrededor de 2 meses ago | 2 answers | 0

### 2

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

alrededor de 2 meses ago | 1 answer | 0