提问


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

5 years 前 | 1 个回答 | 0

1

个回答

提问


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?

5 years 前 | 1 个回答 | 0

1

个回答

提问


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

5 years 前 | 1 个回答 | 0

1

个回答

提问


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 years 前 | 1 个回答 | 0

1

个回答

提问


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 years 前 | 1 个回答 | 1

1

个回答

提问


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 years 前 | 1 个回答 | 0

1

个回答

提问


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

5 years 前 | 1 个回答 | 0

1

个回答

提问


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

5 years 前 | 1 个回答 | 0

1

个回答

提问


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

5 years 前 | 1 个回答 | 0

1

个回答

提问


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

5 years 前 | 1 个回答 | 0

1

个回答

提问


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

5 years 前 | 1 个回答 | 0

1

个回答

提问


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

5 years 前 | 2 个回答 | 0

2

个回答

提问


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

5 years 前 | 1 个回答 | 0

1

个回答

提问


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

5 years 前 | 1 个回答 | 0

1

个回答

提问


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

5 years 前 | 1 个回答 | 1

1

个回答

提问


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

5 years 前 | 1 个回答 | 0

1

个回答

提问


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

5 years 前 | 1 个回答 | 0

1

个回答

提问


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

5 years 前 | 2 个回答 | 0

2

个回答

提问


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

5 years 前 | 2 个回答 | 0

2

个回答

提问


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

5 years 前 | 1 个回答 | 0

1

个回答

提问


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

5 years 前 | 2 个回答 | 0

2

个回答

提问


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

5 years 前 | 1 个回答 | 0

1

个回答

提问


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

5 years 前 | 0 个回答 | 0

0

个回答

提问


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

5 years 前 | 0 个回答 | 0

0

个回答

提问


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

5 years 前 | 2 个回答 | 1

2

个回答

提问


Why text is not centered?
text(x,y','FontSize',12,'HorizontalAlignment', 'center') but the inf is not in the center (look at picture)

5 years 前 | 1 个回答 | 1

1

个回答

提问


Too many non-property/value arguments error occurred when applying a text box to a figure
Here is the line: text(2,3,'\bf fontname{times} infty','FontSize',12,'center')

5 years 前 | 1 个回答 | 0

1

个回答

提问


check values of all elements of an array
I have array which has multiple elements. I want to find the elements that are larger than 1 and put the value with the index of...

5 years 前 | 1 个回答 | 0

1

个回答

提问


How to repeat the value of y to have the same length as x?
I need to add a text to a plot. text(x,max(E),'it is inf') and the length of x can be more than one. so I will get the error ...

5 years 前 | 1 个回答 | 0

1

个回答

提问


calculate std and mean for multiple variables automated
I have many variables that need to calculate std and mean for them. Is there any structure (other than defining a function) that...

5 years 前 | 1 个回答 | 0

1

个回答

加载更多