Community Profile

photo

andrea


Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


How to set a path for saving file?
Hi guys, Working on my PC I can save an output file.xls in an existing directory called 'output' through the commands: pat...

9 years ago | 1 answer | 0

1

answer

Question


How to write2 strings in a cell in Excel ?
This are 2 cell-array: a={'Hi';'Hi'}; b={'Fred';'Alex'}; I would like to combine each row and write it in a cell in...

9 years ago | 1 answer | 0

1

answer

Question


How to eliminate same strings in a cell-array?
Thi is my cell-array: h={'a','b','c','a','d'}; How to eliminate one of two equal strings like 'a' in the example and get a...

9 years ago | 1 answer | 0

1

answer

Question


How to plot vertical lines?
This is the script: x=[0:0.1:10]; x1=5; plot(x,2*sin(x),x,5*sin(x),x,cos(x)); line([x1 x1],???????); I would lik...

9 years ago | 6 answers | 0

6

answers

Question


How can I resize the horizontal lineLength in Legend?
For ex.: plot(x,sin(x)); [r, hobj1]=legend('sin(x)'); textobj = findobj(hobj1, 'type', 'line'); set(textobj,'??????...

9 years ago | 1 answer | 0

1

answer

Question


How to compare strings in a cell-array and sort them?
These are 2 cell-array, respectively list={'a','b','c','a','e','f','g'}; and list_short={'a','b','c','a'}; that contains the fir...

9 years ago | 0 answers | 0

0

answers

Question


How to find elements equal to specific values?
This is my vector (double): v=[0.5;0.6;0.7;0.8;0.9;1.0]; I would like to find the position of 0.95 or of the nearest element ...

9 years ago | 1 answer | 0

1

answer

Question


How do I read whitespace character with Textread function?
Hi guys, I have a string like this 'Event_Name: NW Kagoshima' in my coord.txt file and I would like to read it in 2 columns. T...

9 years ago | 1 answer | 0

1

answer