11/7/2023 0 Comments Matlab vs python in dsp![]() If something goes wrong in your C program or library it is often not just an error code that is returned, but your test program simply dies without any warnings, questions or dialogs if you would maybe like to save your intermediate data results. This means programming in C is a little different than doing the same in LabVIEW or Python. While you have to really try hard to crash a LabVIEW or Python program, it's a matter of seconds to do that in C(++). It gives great power and control but that comes with great responsibilities too. What I could do in Python I could also always do in LabVIEW, but certain things are simply not really possible (or at least not with reasonable effort) in both of them and require a lower level language.īut C(++) is quite a different thing to work in for sure. One reason I think is that Python is also a high level programming language like LabVIEW. LabPython (and Python itself too) are also written in pure C. Maybe I am taking the wrong approach here, and if so, please feel free to let me know.ĭespite having created LabPython about two decades ago, I always prefered to go with C. So far, I have been developing with existing pieces of equipment, but I am keen to learn how to make some of them myself. That is why (since LabVIEW mostly have made the job of DAQ easier) I think I would be using Labview as the primary language and call either scrips or DLL s from within the Labview programme.Īs you can guess, I am not a programmer (just a chemist ), but I would love to develop my own experiments. I am (at the moment developing a z-scan experiment which in reality an f-scan, focal point scan using an Optoune variable focal lens, the driver of which is written in LabVIEW ).Īpart from that, I am an electronic enthusiast (just starting, really) and have a few additions to the project in mind and instead of using commercial systems, I want to build them myself using Arduino (not yet FPGA, and I don't think I have the talent or the knowledge to touch DSP processors). Each group is required to present the outcome of the assignment in the final week of the semester.A very fair question that I have been struggling to answer too. ![]() The deadline of submitting the report is on the 23 June 2023. As a reminder, the report should be brief, straight to the point, strictly less than 10 pages. System block diagram, flowcharts and proper label plots should be attached to aid the explanation. The proposed algorithm used in the system should be fully described and justified. ![]() The report should include detailed description of the system. You are expected to apply the knowledge that you obtained from the class lecture to accomplish the tasks by using MATLAB/Python/C code. Figure 1 briefly describes the system to be implemented. The tone decoder at the receiving end is used to decode the stream of tone pairs into decoded stream of digits. So, a message of digits stream will be translated into a stream of pairs of distinct tones with the duration of 0.5 s (for each tone pair). The function of the encoder is to convert each Digits into a pair of distinct frequency tones. The system is comprised of tone encoder and tone decoder. ![]() You are required to develop a DSP system based on MATLAB or Python or C code which can convert a message stream containing digit 0, 1, 2 and 3.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |