photo

Sam G.


Attivo dal 2011

Followers: 0   Following: 0

Messaggio

Statistica

  • Thankful Level 1
  • Knowledgeable Level 1
  • First Answer

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 13 anni fa | 1 risposta | 0

1

risposta

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

quasi 14 anni fa | 1

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

quasi 14 anni fa | 1

| accettato

Domanda


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

quasi 14 anni fa | 1 risposta | 2

1

risposta

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

quasi 14 anni fa | 2

| accettato

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

quasi 14 anni fa | 0

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

quasi 14 anni fa | 1

Domanda


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

quasi 14 anni fa | 1 risposta | 0

1

risposta