Community Profile

photo

Sam G.


Active since 2011

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1
  • Knowledgeable Level 1
  • First Answer

View badges

Feeds

View by

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

13 years ago | 1 answer | 0

1

answer

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

13 years ago | 1

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

13 years ago | 1

| accepted

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

13 years ago | 1 answer | 2

1

answer

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

13 years ago | 2

| accepted

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

13 years ago | 0

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

13 years ago | 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...

13 years ago | 1 answer | 0

1

answer