Question

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 3 Jahre ago | 3 answers | 0

Question

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 3 Jahre ago | 1 answer | 0

Question

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 3 Jahre ago | 1 answer | 0

Question

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 3 Jahre ago | 1 answer | 0

Answered

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');...

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 3 Jahre ago | 0

Answered

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

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 3 Jahre ago | 0

Question

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 3 Jahre ago | 3 answers | 0

Question

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 3 Jahre ago | 1 answer | 0

Question

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 3 Jahre ago | 1 answer | 1

Question

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 3 Jahre ago | 1 answer | 0

Question

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 3 Jahre ago | 1 answer | 0

Question

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 3 Jahre ago | 2 answers | 0

Answered

derivative of legendre associated functions

this is the code I am using. Hope you can help!

derivative of legendre associated functions

this is the code I am using. Hope you can help!

mehr als 3 Jahre ago | 0

Question

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 3 Jahre ago | 1 answer | 0

Question

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 3 Jahre ago | 0 answers | 0

Answered

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

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 3 Jahre ago | 0

| accepted

Question

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 3 Jahre ago | 1 answer | 0

Answered

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

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 3 Jahre ago | 0

Question

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 3 Jahre ago | 1 answer | 0

Question

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 4 Jahre ago | 1 answer | 0

Answered

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

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 4 Jahre ago | 0

Question

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 4 Jahre ago | 3 answers | 0

Question

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 4 Jahre ago | 1 answer | 0

Question

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 4 Jahre ago | 2 answers | 0

Answered

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 !

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 4 Jahre ago | 0

Question

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 4 Jahre ago | 2 answers | 0

Question

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 4 Jahre ago | 3 answers | 0

Answered

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

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 4 Jahre ago | 0

Answered

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

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 4 Jahre ago | 0

Question

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 4 Jahre ago | 3 answers | 0