Recently a MATLAB user asked me how to make it possible to work with an array of structures in such a way that she could filter the array of structures and then combine the remaining fields. Once… 더 읽어보기 >>
Recently a MATLAB user asked me how to make it possible to work with an array of structures in such a way that she could filter the array of structures and then combine the remaining fields. Once… 더 읽어보기 >>
Sometimes MATLAB throws an error, but because the error is inside of a function you can not see what caused this error. By telling the debugger to stop execution under certain conditions or right… 더 읽어보기 >>
Sometimes the performance of MATLAB code can depend greatly on the algorithm or the specific functions called. In this example, we show how we use the profiler (and good knowledge of logical… 더 읽어보기 >>
Testing your code is important to make sure that it works correctly and continues to work correctly as you modify it. The more long lived the code, the more important testing becomes. I… 더 읽어보기 >>
Today we will look further at the cypher algorithm, specifically the randomness of this algorithm. There are two different distributions to look at: distribution of single numbers (1,2,3,4) and the… 더 읽어보기 >>
I am a big fan of Project Euler. There are a series of math and programming problems there that people often use in honing their programming skills. Traditionally, there is one correct integer… 더 읽어보기 >>
Very often MATLAB users want to share data between different callbacks that they have in their MATLAB GUIs. This video shows a technique that is applicable for when the data being shared is already… 더 읽어보기 >>
This video shows how you can use MATLAB to do the visualization of a moving object with HGtransform. This data was syntetic, but it would be easy to read the data from a file and show the trajectory… 더 읽어보기 >>
When constructing a GUI, sometimes it would be appropriate for the GUI to start out in the last state it was in when it was closed. This means the same values selected in list boxes, same radio… 더 읽어보기 >>
I just worked on a case that typifies a situation I see in MATLAB fairly often. Unexpected results are not necessarily wrong results. I am a big fan of the “sanity check”, where if… 더 읽어보기 >>