Community Profile

photo

Leos Pohl


Last seen: 4 Tage vor Aktiv seit 2021

Followers: 0   Following: 0

Statistiken

  • Thankful Level 2
  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Writing mat file from fortran
I am trying to save an array generated in Fortran to mat file so that i can read it in matlab. I am using gfortran to compile th...

etwa 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


array of structs how to preallocate and assign
I have a struct; s.a = 1; s.b=[1 2 3]; and i want a struct array such that: sa(1).a = 1; sa(1).b=s.b=[1 2 3]; sa(2).a=3; ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Is there a way to start a parellel pool with maximum available workers as the cores on the machine?
Is there a way to start a parellel pool with maximum available workers as the cores on the machine? I am using a compiled code ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


What is the most correct way of determining whether variable contains a number
From what i have read, isnumeric is useless since eg. nan returns numeric output. Some answers mention to use str2double but str...

mehr als 2 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Submitting parallel compiled code to SLURM
I have a compiled application. I am trying to run it with SLURM on several nodes. The application itself is parallel with local ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Running on cluster without parallel server with slurm
I have access to a cluster where there is only a single matlab license and it is to be used for compilation purposes only with m...

mehr als 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Converting text file to struct
I am trying to read values from text file into a struct. The original assignement to a struct was like this: C.fname_dem =...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Easiest way to load structure array from a text file
I currently have a structure array defined in the code as: C.a = "something"; C.b = 1; % useful comment C.c = [ 1.3, 2.0, 3....

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to prevent matlab from exponential form in displaying arrays
When I print some array, matlab prints: ans = 1.0e-14 * 0.1 0.2 ... Is there any way to preve...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Is there a way to access array elements returned by a function directly
Assume this code: a=magic(4); then I can do: a(1,2) to access the elements of the matrix a. Is there a way to do it directly...

fast 3 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


Matlab and SPICE toolkit and parfor
I am using NASA's SPICE toolkit MICE for matlab. The relevant code is addpath(path_to_spice_src); addpath(path_to_spice_lib)...

fast 3 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


An UndefinedFunction error thrown by parfor but not for
I have a script 'load_constants.m' that has: a = 1737400.0; main program: load_constants el = fce(); and t...

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


parfor variable classification issue
I had the code as such (note the size of the map array is (1001,1001,3): map = zeros(i1max - i1min + 1,j1max - j1min + 1,3); ...

fast 3 Jahre vor | 2 Antworten | 0

2

Antworten