Community Profile

photo

Zeynab Mousavikhamene


31 total contributions since 2019

Zeynab Mousavikhamene's Badges

  • Thankful Level 2
  • First Answer

View details...

Contributions in
View by

Question


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

10 jours ago | 1 answer | 0

1

answer

Question


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')

10 jours ago | 1 answer | 0

1

answer

Question


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

11 jours ago | 1 answer | 0

1

answer

Question


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

11 jours ago | 1 answer | 0

1

answer

Question


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

11 jours ago | 1 answer | 0

1

answer

Question


Is it possible to organize variables shown in workspace?
I am interested to arrange parameters shown in the workspace based on the script. I have two scripts now and one script calls th...

11 jours ago | 1 answer | 0

1

answer

Question


Is it possible to 'clear all' variables except one?
I am using clear all command. But I wan to keep just one of the varibles. Lets say the name of that variable is 'var'.

12 jours ago | 3 answers | 0

3

answers

Question


How to call .m file from an other .m file?
I have a matlab file which is reading a .json file and do some calculations on it and produces some parameters with their values...

13 jours ago | 2 answers | 0

2

answers

Question


Index in position 1 exceeds array bounds (must not exceed 1).
Index in position 1 exceeds array bounds (must not exceed 1). Error in jsondecode_v1 (line 257) text(total_cellcount.time(fi...

14 jours ago | 2 answers | 0

2

answers

Question


How to find max of an array avoiding the inf?
I have an array of numbes in which some of them are inf. I want to find the largest number among non-inf numbers. Any suggestio...

14 jours ago | 1 answer | 0

1

answer

Question


Convert 0×1 empty double column vector to zero
I am running a code and some of the parameters are 0×1 empty double column vector. Is there any way to convert these to zero? ...

17 jours ago | 1 answer | 0

1

answer

Question


Call specific rows of a table then choose rows that has specific criteria in those rows .
I want to say for each radius celltracker_group2.time == 10 if radius<=3 and cell_type==4 then GroupCount=GroupCoutn+1. Any h...

17 jours ago | 1 answer | 0

1

answer

Question


How to call a specific element of a table
I want to find the "radius" in which "time" is 2 and p"erhexagon" is 2.1667. There might be more than one radius that matche...

18 jours ago | 2 answers | 0

2

answers

Question


How to plot a series of numbers which some of them are inf?
I have a series of X and Y that some of Ys might be inf. Ys are changing in each loop there might be inf in them (more than one ...

29 jours ago | 1 answer | 0

1

answer

Question


Replace one NAN with zero in a row vector without a loop
I have a row vector that its size is changing in each run. Some of its elements might be NAN and I want to replace those with ze...

29 jours ago | 1 answer | 0

1

answer

Question


inset of matlab figure inside the figure doesnot show new axes label
Here is the code I used: figure (3) plot(total_cellcount.time,(prolif.')./total_cellcount.sum_sum_cell_count,'o') xlabel('Ti...

29 jours ago | 1 answer | 0

1

answer

Answered
How to organize a table?
I used celltracker_group = varfun(@mean,celltracker,'GroupingVariables',{'time','cell_type'}); and it worked perfectly. It prod...

environ un mois ago | 0

Question


How to organize a table?
I have a table around 700 rows and 7 columns. The second column is time. I have 5 different times. The last column is "cell type...

environ un mois ago | 3 answers | 0

3

answers

Question


how to skip an error inside a loop?
I have a loop which reads from a structure. The pattern might change in the loop. Sometimes I need to call the element that I wa...

environ un mois ago | 2 answers | 0

2

answers

Question


convert cell to integer
I have a 1*1 cell in which its content is ineger. I need to convert the content to integer (no cell anymore just like a number i...

environ un mois ago | 1 answer | 0

1

answer

Question


Add title to one row of a subplot
I am using subplot and there 6*2. I want to add title for every two plots that are in the same row. Any suggestion?

environ un mois ago | 1 answer | 0

1

answer

Question


For loop and subplot
I have a for loop and in each loop I plot to figures. I want each pair of figure to be plotted next to each other (left and righ...

environ un mois ago | 1 answer | 0

1

answer

Question


how to add a new column to a table. The length of the column is longer and want to add from the first row till the last row of current table and neglect the rest of the column
Imaging there is a table that has 500 rows and I want to add a colmun which has 1000 rows to the table (adding the first 500 row...

environ un mois ago | 1 answer | 0

1

answer

Question


Matrix calculation indexing conditional
I have a matrxi of 500 rows and 6 columns. I need to sum all the rows of 2nd column of the matrix if their 3rd column and 4th co...

environ un mois ago | 1 answer | 0

1

answer

Question


How to sort one column of a matrix
I have a matrix that has 500 rows and 5 columns. I want to sort the matrix based on the 3 rd column. I mean rearrange the matrix...

environ un mois ago | 1 answer | 0

1

answer

Question


Double = in one line of code
Can I define a=b=c in one line of code in matlab? if yes what is the syntax? I do not want to define in double section like a=b...

environ un mois ago | 2 answers | 0

2

answers

Question


how to call nested structure and cell array?
if I want to call the firts column of the data.timepoints how can I do that? I mean the "time" column. I really appreciate a...

environ un mois ago | 2 answers | 0

2

answers

Question


Extract info from .json file by matlab
I need to parse a json file and extract many objects and arrays from that file. Then I am going to plot those extracted informat...

environ un mois ago | 1 answer | 0

1

answer

Question


How to open multiple .json files and parse the data in it in automated way?
In each .json file, there are mixtue of string and numbers. All .json files have the same struncture but numbers/strings changes...

3 mois ago | 0 answers | 0

0

answers

Answered
Create an excel file in a specific folder
Thanks!

6 mois ago | 0

Load more