Domanda


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

quasi 7 anni fa | 3 risposte | 1

3

risposte

Domanda


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

quasi 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 7 anni fa | 1 risposta | 0

1

risposta

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

quasi 7 anni fa | 0

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

quasi 7 anni fa | 0

Domanda


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

quasi 7 anni fa | 3 risposte | 0

3

risposte

Domanda


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

quasi 7 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 7 anni fa | 1 risposta | 2

1

risposta

Domanda


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

quasi 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 7 anni fa | 2 risposte | 0

2

risposte

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

quasi 7 anni fa | 0

Domanda


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

quasi 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 7 anni fa | 2 risposte | 0

2

risposte

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

circa 7 anni fa | 0

| accettato

Domanda


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

circa 7 anni fa | 1 risposta | 0

1

risposta

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

circa 7 anni fa | 0

Domanda


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

circa 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 7 anni fa | 1 risposta | 0

1

risposta

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

oltre 7 anni fa | 0

Domanda


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

oltre 7 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 7 anni fa | 2 risposte | 0

2

risposte

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

oltre 7 anni fa | 0

Domanda


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

oltre 7 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 7 anni fa | 3 risposte | 0

3

risposte

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

oltre 7 anni fa | 0

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

oltre 7 anni fa | 0

Domanda


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

oltre 7 anni fa | 3 risposte | 0

3

risposte

Carica altro