@LuisMendo Ha! that's the type of question where it really will be useful
definitely a leg up on most other languages' interpreters
I want to tweak how the iamges are displayed a little bit. I want them to max out at their native resolution
but for images created with imwrite, i'd like for them to be a little bigger so you can actually see them
And I need it to handle portrait and landscape images.
After that, I think I've added most pressing things at this point. Are there many major issues that you think we should deal with before unleashing this on the world?
@Suever I see. One possibility is to leave the decision to the user: a toggle button to activate or deactivate scaling. But I don't know if it's easier to create that button (and make it work) or to find a formula to decide which resolution to use
Yea actually. I played piano when I was a kid and have been off and on since. Then picked up drums and all other percussion when I was 12 or so. Haven't had a chance to play much lately sadly.
Haha never thought to use MATLAB as a synthesizer but really it's setup quite well to do that
I thought of including that in MATL, but I ended up discarding it. Well, I guess, introducing audioread and audiowrite would suffice. The bad part is that the results can't be easily posted (and of course not tested online)
@Suever and maybe ask Ray. That would be a good excuse to get him involved in MATL :-) He was in the beginning but not so much lately (well, as with SO)
I though of putting fft as a 1$ version of convolution Z+. That would make sense, as FFT and convolution are closely tied. But we need more than 1 input for FFT
@Suever Hm, good point. fftshift may be needed too
The concept of my approach was pretty straightforward and relied on the fact that you would have a higher amplitude of horizontal spatial frequencies where the legs were (due to grass and the legs being vertical)
So I believe I took some ratio of horizontal frequency power from the bottom part of the image to the top part
Pretty naive approach but it did ok. I think like 100% of all the first test cases and 70% of the others
Yea I love fourier transform-based stuff like that. No better way to get global information in a sparse domain
Sometimes I wish people would answer these questions with really golfy answers which clearly aren't what the instructor wanted and it would be clear that the student didn't do it
Design a program that will input numeric data type double into an array. Do this function by designing a function called inputData . Then the program should sort the data and display the whole content of the array. Sort the array by using bubble sort (you can Google that/ or use the qsort func...
@Suever Conversion from Python array to MATL(AB)'s only works for two levels, obviously. Should that be indicated? Not sure, perhaps it would add too much clutter. And I don't even know if [[1] [2]] is called "two nesting levels" or "one nesting level" :-D