photo

Sam G.


Actif depuis 2011

Followers: 0   Following: 0

Message

Statistiques

  • Thankful Level 1
  • Knowledgeable Level 1
  • First Answer

Afficher les badges

Feeds

Afficher par

Question


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

plus de 13 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
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...

presque 14 ans il y a | 1

Réponse apportée
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 ...

presque 14 ans il y a | 1

| A accepté

Question


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

presque 14 ans il y a | 1 réponse | 2

1

réponse

Réponse apportée
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...

presque 14 ans il y a | 2

| A accepté

Réponse apportée
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...

presque 14 ans il y a | 0

Réponse apportée
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...

presque 14 ans il y a | 1

Question


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

presque 14 ans il y a | 1 réponse | 0

1

réponse