Recent content by jimpx
-
J
Fminsearch - hold a variable constant
Thanks a lot for your help anyway Eus, it's much appreciated.- jimpx
- Post #10
- Forum: Programming and Computer Science
-
J
Fminsearch - hold a variable constant
try sigma_1 = 1e3, N_2b = 1e19, N_e0=1e24- jimpx
- Post #8
- Forum: Programming and Computer Science
-
J
Fminsearch - hold a variable constant
fminsearch prob The code is written in Matlab. If you run RunsakkaGUI there should be two plots. The one on the left will work, as its only a single run of the program. The one on the right works, but only with the file that's written into the minimization code. I have included two sample...- jimpx
- Post #7
- Forum: Programming and Computer Science
-
J
Fminsearch - hold a variable constant
Thanks again for your help Eus, I will try to explain the environment a bit better. The original program takes in three variables which are plasma parameters, and calculates the expected spectrum based on these variables. This calculation requires a total of seven different codes, which...- jimpx
- Post #5
- Forum: Programming and Computer Science
-
J
Fminsearch - hold a variable constant
Thanks for the reply Eus. Unfortunately that won't work. I am designing a GUI for a program already written. The program calls on 7 functions, sending three variables to the first function, which returns six variables, two of which go to the second and three to the third etc. The GUI sends the...- jimpx
- Post #3
- Forum: Programming and Computer Science
-
J
Fminsearch - hold a variable constant
Hello, I want to pass a number of variables through fminsearch. Because of the structure of the program, some of those variables must be held constant while the others are minimized. Is there a way to do this with fminsearch, or is there another minimization program which allows this...- jimpx
- Thread
- Constant Variable
- Replies: 9
- Forum: Programming and Computer Science