photo

Sam G.


Aktiv seit 2011

Followers: 0   Following: 0

Nachricht

Statistik

  • Thankful Level 1
  • Knowledgeable Level 1
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How do I read commas as decimal points when reading a text file?
I have a file that I'm trying to read with numerical values that use commas as decimal points. For example... 0 21,875000 ...

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Storing user input as a vector
You need a separate variable to indicate the array index you want to store the number in. In your example, the user enters '2' t...

mehr als 13 Jahre vor | 1

Beantwortet
2D quadrature for an array valued function
Well, if anyone is interested in this... After some more looking around, I found an example of some code that I could adapt to ...

mehr als 13 Jahre vor | 1

| akzeptiert

Frage


How do I go to a previous line when reading a text file?
Below is the section of interest from a text file I'm trying to read. . . . 3 0.68500 35.11850 -...

mehr als 13 Jahre vor | 1 Antwort | 2

1

Antwort

Beantwortet
Multiple Equations
If you want to enter the variables in the command window, you can use the |input| command. For example, to prompt the user for t...

mehr als 13 Jahre vor | 2

| akzeptiert

Beantwortet
Color from contourf and colorbar doesn't match
Well, this may not be a very satisfying solution but if you change nn=0.6 to nn=0.60000001 the colorbar will the...

mehr als 13 Jahre vor | 0

Beantwortet
Deleting rows from a uitable
You could use the |UserData| property to store the row and column of the selected cell, then access it whenever you need it with...

mehr als 13 Jahre vor | 1

Frage


2D quadrature for an array valued function
I need to perform integration of an array valued function over a rectangular domain. I have found |dblquad| and |quad2|, which w...

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort