Professional Interests: physics, Monte-Carlo algorithms, parallel computing, spin-waves
Top 5% contributor
Pre R2014b Matlab versions allowed the separate control of the length of the top and bottom error bar lines separately through t...
Asked 8 months ago
The simple function performs fast matrix multiplication within multidimensional arrays.
2 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 4 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 4 years ago
The @cif class enables easy access to the crystallographic data stored in .cif files.
1 year ago
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".
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.
12 months ago
I am plotting crystal structures in Matlab using balls and sticks as surfaces. I can produce nice 3D renderings with s...
Asked 1 year ago
I am trying to profile a parallel function outside of pmode, using the following commands:
pJob = createParallelJob();
Asked 2 years ago
Join the conversation