Frage


save new field to a structure?!
Hello! I have a 'myfile.mat' which contains several structures struct1, struct2,... Now I would like to save a new added field...

mehr als 7 Jahre vor | 3 Antworten | 1

3

Antworten

Frage


Legend of Many curves on one graph?!
Hello, I would like to have a legend that is on a for-loop so for each entry I would like to have a name of my data , how can I ...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


transform a 3d matrix into cell array
hello I would like to transform m by n by k matrix into cell array as k by 1 where each cell contain m by n matrix, how can I do...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


error using cellfun!
hello! I am having troubles with cellfun as I have defined a new class of my data which is not supported by cellfun , I get the ...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
how to make a script that plots all data loaded from to different repositories?
problem solved! just add the following line to the code, thank you very much ! filepattern2 = fullfile(direction2,'*.mat');...

mehr als 7 Jahre vor | 0

Beantwortet
how to make a script that plots all data loaded from to different repositories?
I have written the following code, and I have made the files in both repositories with the same name, I get the data from the fi...

mehr als 7 Jahre vor | 0

Frage


how to make a script that plots all data loaded from to different repositories?
hello! I must plot alot of data, so I would like to know if there is a way how to make a script that loop over all the data fil...

mehr als 7 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


how to make a constant global so all packages files use it?
hello! I would like to define a constant in such a way all my functions in the package folders use it , how can I do it ?? Thank...

mehr als 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


how to loop over the structure fields and get the type of data ?!
hello! I would like to loop over the fields of a structure and get the type of data for each field, so I can do further manipula...

mehr als 7 Jahre vor | 1 Antwort | 2

1

Antwort

Frage


problem with extra entries in a matrix!
Hello, I would like to fill a matrix but I have a problem in filling it, because I get some extra entries even though I have in...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


what is the difference between using the zeros array or nan array ?!
Hello! I would like to know what is the difference between initializing an array using the zeros array and nan array in matla...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to exit a for loop if a condition is true?!
hello! I would like to exit a for lopp is a condition is true but my code doesn't seem to work, could you help me to figure out ...

mehr als 7 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
derivative of legendre associated functions
this is the code I am using. Hope you can help!

mehr als 7 Jahre vor | 0

Frage


derivative of legendre associated functions
hello! I am trying to implement the derivative of legendre associated functions based on the recurrence equations, the problem ...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


derivative of bessel function of the first kind !!
Hello! I would like to check if my implementation of the derivative of bessel function of the first kind is working properly or...

mehr als 7 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
trimesh and trisurf produces a very bad triangulation results?!!
hello! the problem was that the triangles contained not only the nodes but also their domain number (inside or out side the ob...

mehr als 7 Jahre vor | 0

| akzeptiert

Frage


trimesh and trisurf produces a very bad triangulation results?!!
Hello! I am trying to model a closed surface, but trimesh and trisurf produces a very bad plot, how can I improve it?: is there...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Matrix dimensions must agree for computing spherical harmonics !!!!
the output should be a matrix I have solve it by using the transpose of P now it works! Thank you!!

mehr als 7 Jahre vor | 0

Frage


Matrix dimensions must agree for computing spherical harmonics !!!!
Hi i am trying to calculate the spherical harmonic but I get an error saying that the matrices dimensions must agree, here is th...

mehr als 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how to convert a DLL file into an m file ?
Hello! I have found a matlab codes which have some files with DLL extension and I would like to know their contents, is it poss...

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
save the output of system command using matlab
thank you for your reply! * I have made the change that you have suggested . it takes a long time since the generated file is...

fast 8 Jahre vor | 0

Frage


save the output of system command using matlab
Hello! I am executing a system command via matlab. in the command I am writing the output to a file. when running the code I ca...

etwa 8 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


skip the headers in a text file and extract the data ?
I would like to extract the data only from a text file. the text file has a header which contains some numerical values as shown...

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


empty entry using ginput !!
Hello! I am using the function ginput in order to get the coordinates from a figure but I get x and y as a 0x0 double, any poss...

etwa 8 Jahre vor | 2 Antworten | 0

2

Antworten

Beantwortet
how to get the usual form of a matrix from a txt file?
what if the file has got some text before the matrix, how can I still extract the matrix ?? thank you in advance !

etwa 8 Jahre vor | 0

Frage


how to get the usual form of a matrix from a txt file?
hello, I have a matrix defined in a txt file as it follows: row column value 1 1 -4.630 2 1 -4.307 ...

etwa 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


how to export the impedance matrix from Feko into Matlab
Hello, I would like to export the impedance matrix from FEKO into matlab but Matlab says that the .mat file is corrupted, any he...

etwa 8 Jahre vor | 3 Antworten | 0

3

Antworten

Beantwortet
Error while converting a .mat file into ascii using Mat2Ascii function
Thank you very much! unfortunately I have the same error with the new generated file. Here I attach the file, I Hope to get he...

etwa 8 Jahre vor | 0

Beantwortet
Error while converting a .mat file into ascii using Mat2Ascii function
I don't want to extract information from this file only, the purpose is to be able to extract information from .mat files each t...

etwa 8 Jahre vor | 0

Frage


Error while converting a .mat file into ascii using Mat2Ascii function
Hello, I would like to read a .mat file. I used Load it generate an error 'File might be corrupt.', so I though about using Mat...

etwa 8 Jahre vor | 3 Antworten | 0

3

Antworten

Mehr laden