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

7 years ago | 3 answers | 1

3

answers

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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 1 answer | 0

1

answer

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

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

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

7 years ago | 3 answers | 0

3

answers

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

7 years ago | 2 answers | 0

2

answers

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

7 years ago | 1 answer | 2

1

answer

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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 2 answers | 0

2

answers

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

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

7 years ago | 1 answer | 0

1

answer

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

7 years ago | 2 answers | 0

2

answers

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

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

7 years ago | 1 answer | 0

1

answer

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

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

7 years ago | 1 answer | 0

1

answer

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

8 years ago | 1 answer | 0

1

answer

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

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

8 years ago | 3 answers | 0

3

answers

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

8 years ago | 1 answer | 0

1

answer

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

8 years ago | 2 answers | 0

2

answers

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 !

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

8 years ago | 2 answers | 0

2

answers

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

8 years ago | 3 answers | 0

3

answers

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

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

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

8 years ago | 3 answers | 0

3

answers

Load more