Community Profile

photo

Zeynab Mousavikhamene


61 total contributions since 2019

Zeynab Mousavikhamene's Badges

  • First Review
  • Thankful Level 3
  • First Answer

View details...

Contributions in
View by

Question


Change folder vs change directory
What is the difference between chage folder and change directory? Change folder is the option that sometimes matlab ask before ...

alrededor de 5 horas ago | 1 answer | 0

1

answer

Question


What is the order when calling a directory?
I call a directory which is a folder cotaining several files and then I use for loop to do specific calculatuions on each file i...

1 día ago | 1 answer | 0

1

answer

Question


How to make empty array of specific size?
I used A = ClassName.empty(sz1,...,szN) or A = ClassName.empty(sizeVector) syntax : a=ClassName.empty(2,2) but I got this erro...

1 día ago | 2 answers | 0

2

answers

Question


how to change size of a string?
I use regexp(struct(jjj).name,'\_','split'); command to split this structure: K10_5. After being split: {'K10'} I convert it to...

3 días ago | 1 answer | 0

1

answer

Question


Is there any way to avoid unconscious adding alphabet to the code while working on it?
It happened to me many times: I am working on a long code and sometimes keyborad is touched by pen, hand or .. unconsciously ty...

4 días ago | 0 answers | 0

0

answers

Question


how can I read file from a different directory
the matlab script that I am running from is in directory "a" but the I need to read text file using "fileread" from an directory...

4 días ago | 1 answer | 0

1

answer

Question


a='C:\code'. cd 'C:\code' works fine but cd a gives error: Name is nonexistent or not a directory
How can I pass a "a" as address to change directory not the whole address?

4 días ago | 1 answer | 0

1

answer

Question


Using dir() without changing directory?
I need to find files that have dir(['*K1*.json']); in their names which are in a specific folder different from the matlab scrip...

4 días ago | 1 answer | 0

1

answer

Question


Weird reading data: seed
I have data point (attached) and when I call it in command window: data.seed I get the right answer but when I use it in the scr...

5 días ago | 1 answer | 0

1

answer

Question


The best approach to name .mat file when saving so can be loaded easily by calling
I am saving multiple .mat files has that each are for specific parameters for example mat file number 1 has a=1, b=2, c=3 and ma...

5 días ago | 1 answer | 0

1

answer

Question


Having multiple individual functions in a matlab script
I need to have multiple fucntions in a script to call them later from other script. Matlab gives error that then name of the fun...

5 días ago | 1 answer | 0

1

answer

Question


Using struct=dir(selpath), what do '.' and '..' mean as struct.name?
When I use struct=dir(selpath) and then struct.name, I see two extra names ('.' and '..' ) that are not name of folders in the r...

6 días ago | 2 answers | 0

2

answers

Question


I need to have underline (_) in my plot x and y label but matlab plot recognizes as subscript
When I used this command: xlabel(Ratio_prolif), p of prolif becomse as subscript in the plot. Is there anyway to have under...

7 días ago | 1 answer | 0

1

answer

Question


Check all values in a table if any is "NAN"
I have a table that has multiple column and rows. I want to say if any value in the table was "NAN" then change the value from "...

7 días ago | 1 answer | 0

1

answer

Question


Avoid using for loop
I am using this like which works fine: Cellcount=Acc.perhexagon(Ac.time==data.timepoints(end).time); I want to get information...

7 días ago | 1 answer | 0

1

answer

Question


Any method to soften harsh edges of a plot?
Is there any way to soften harsh edges (shown in blue)?

8 días ago | 1 answer | 0

1

answer

Question


Unusual arrangement of plot
Red line is plotted by matlab but it is unusal and expected to be blue line. Any idea why this happens? plot(celltracker_gro...

8 días ago | 2 answers | 0

2

answers

Question


How to change the position of inset plot
I am using "box on" to add a small plot inside the main plot. I need to move it to an other place as ti covers the main plot. I ...

11 días ago | 1 answer | 0

1

answer

Question


Efficiently add missing parts to the table
In the attached table, radius ranges from 5 to 26. Some radii are not in the table for example radius=1 to 4, or radius=7 or 8 a...

11 días ago | 1 answer | 0

1

answer

Question


Delete specific rows in table
I want a table that has all values that their cell_type is 4 and get rid of those row that their cell_type is not 4. Any sugg...

11 días ago | 1 answer | 0

1

answer

Question


Schedule siumlation from Matlab
I have to run a code in java. The input to java code is .xml file. I have 42 xml files ready and I want to schedule the run one ...

12 días ago | 0 answers | 0

0

answers

Question


Problem in making heatmap
I have array called CV which has a value that can be 0 to 1 or bigger than one. CV is an array that has 35 values. I want to mak...

13 días ago | 1 answer | 0

1

answer

Question


How to call all arrays that start with the name "CV_"?
I need to check a value in all arrays that their names start with "CV_". File names are like CV_er, CV_wer, CV_jkl and so on. E...

13 días ago | 2 answers | 0

2

answers

Question


Dimensions of arrays being concatenated are not consistent.
I need to concatenate arrays that have variable length. All have 1 row but the number of columns are changing. Any suggestion? ...

13 días ago | 2 answers | 0

2

answers

Question


matrix vs cells vs table?
I need to figure out what are features of each one and when each of them is recommende. I have sets of data that I need to stor...

13 días ago | 1 answer | 0

1

answer

Question


Less time consuming substitution for if conditional
I have a long script with lots of if conditional and it takes a long time to run the code. Any suggestion to make it efficient f...

16 días ago | 2 answers | 0

2

answers

Question


Expected one output from a curly brace or dot indexing expression, but there were 12 results.
I have a table and want to plot cellcount (y) per radius(x). I want to say choose all "cellcount.perhexagon" at final time and ...

17 días ago | 1 answer | 0

1

answer

Question


I receive: org.apache.xerces.dom.DeepNodeListImpl@8deb645 when using DOMnode.getElementsByTagName('variable')
The tage name 'variable' has a value ( <variable id="MIG" value="3" description="Change in MIG" />) and I expect to recieve a...

18 días ago | 0 answers | 0

0

answers

Question


Why is the result of xmlread null?
I am using this command to read xml file: DOMnode = xmlread('parameter.xml'); but it returns null. I need to change some value...

19 días ago | 0 answers | 0

0

answers

Question


Change the value of a parameter in xml file using matlab
I have xml file and want to change a value of a parameter inside it. The line that has that specific parameter is: <variab...

19 días ago | 1 answer | 0

1

answer

Load more