Top 10% contributor
'Logical indexing' (<http://www.mathworks.nl/help/matlab/math/matrix-indexing.html#bq7egb6-1>) and 'sum() or mean()' shou...
Answered 2 years ago
Do you run the 32-bit or 64-bit version of matlab? You can check the maximum allowed memory that you can adress on ...
Thanks for this example! This works indeed.
I was thinking of using try catch because one iteration takes a long time (due to a...
I'm working on a GUI, where I have one task that is very computationally intensive. Therefore I want to add a button ...
Asked 2 years ago
As far as I've tried, using integral2 does not solve to problem. As I suspected you can't input a matrix to the function....
I wrote my own function to calculate the double integral of a function, here referred to as 'fun(x,y)' between the bo...
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
2 years ago
Given the input n, return true if n is odd or false if n is even.
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
I'm interested in knowing whether it is advantageous, specifically in matlab, to sum a cosine/sine polynomial using t...
Asked 8 months ago
I try to perform an interpolation on 3D scattered data (data that is gathered on a 3D irregular mesh grid) to a regula...
Asked 1 year ago
Does anyone know about routines that compute - preferably scaled - spherical bessel functions of the first and second...
Does anyone have an idea whether its advantageous to use a parforloop on a single quadcore? I have some code that cal...
I encountered some numerical problem. I Have a simple exact linear system looking like this:
[9.8117e-9 - 3.5...
Join the conversation