Professional Interests: physics, Monte-Carlo algorithms, parallel computing, spin-waves
Top 5% contributor
Is MATLAB R2016b compatible with MacOS 10.12 using language English and region Switzerland?
Answered 1 month ago
Hi Suresh, I cannot give a much faster solution, but there are some obvious improvements to your code. For example the line ind...
1 year ago
Pre R2014b Matlab versions allowed the separate control of the length of the top and bottom error bar lines separately through t...
Asked 2 years ago
The simple function performs fast matrix multiplication within multidimensional arrays.
3 years ago
I am plotting crystal structure in 3D without showing axes or labels. I want a figure where only the plotted 3D surfaces...
Asked 5 years ago
The @cif class enables easy access to the crystallographic data stored in .cif files.
4 months ago
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".
2 years ago
Remove the nth column from input matrix A and return the resulting matrix in output B.
A = [1 2 3; 4 5 6];
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
Given the input n, return true if n is odd or false if n is even.
Given a and b, return the sum a+b in c.
Find the sum of all the numbers of the input vector x.
Input x = [1 2 3 5]
Output y is 11
Input x ...
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
I am plotting crystal structures in Matlab using balls and sticks as surfaces. I can produce nice 3D renderings with s...
Asked 3 years ago
I am trying to profile a parallel function outside of pmode, using the following commands:
pJob = createParallelJob();
Asked 4 years ago
Thanks for the quick answer!
set(gca,'Position', [0 0 1 1]);
but it does not help. I don't think parts of the plot ...
Answered 5 years ago
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries