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… 更多内容 >>