Community Profile

photo

Richard Zapor


Last seen: 25 days ago Active since 2011

Statistics

All
  • Revival Level 1
  • Knowledgeable Level 2
  • Computer Games I Master
  • Cody Challenge Master
  • First Review
  • First Submission
  • Community Group Solver
  • Project Euler I
  • First Answer
  • ASEE Challenge Master
  • Magic Numbers Master
  • CUP Challenge Master

View badges

Content Feed

Answered
How do I multiply two 'int32' data type matrices in MATLAB?
A special case of uint32/64 matrix multiply is where x is a binary matrix and y is a uint32/64 vector. This can be calculated v...

1 year ago | 0

Answered
How do I multiply two 'int32' data type matrices in MATLAB?
function z = mtimes(x,y) if (isscalar(x) || isscalar(y)) z = x .* y; return; end m = size(x,1); n = si...

1 year ago | 0

Answered
how to download zip files, unzip XLS, and load into MATLAB
function site_read_zip % % place self in write directory web='http://www.nemweb.com.au/REPORTS/CURRENT/HistDemand...

8 years ago | 0

Answered
using if/else statements to find molecular weight of compounds given the info from a string
The related <http://www.mathworks.com/matlabcentral/cody/problems/1856-molecule-atomic-wt-chons-molecules Cody Challenge> was so...

8 years ago | 1

| accepted

Answered
using if/else statements to find molecular weight of compounds given the info from a string
I created a Cody Challenge <http://www.mathworks.com/matlabcentral/cody/problems/1856-molecule-atomic-wt-chons-molecules Molecul...

8 years ago | 1

Answered
infinite series for pi
Vectorization and output %AngelsaAtWar %http://mathworld.wolfram.com/PiFormulas.html % The ./ and .^ are needed...

8 years ago | 0

Answered
Replace percentage of existing values with new value
function replace25 m = randi(4, 9, 9) newvalue = 5; % determine qty of values 1 thru 4, a(1) qty 1, a(4) number 4s ...

9 years ago | 0

| accepted

Answered
PLotting noisy signal matlab
If you want a specific set of points a third vector can be created, v=[1 4 9 12]; The plot(t(v),x(v)) will only use the subset ...

9 years ago | 0

Answered
How to Plot a matrix?
Visualizing a matrix for relative magnitudes can be done with surf or I like imagesc. A=randi(256,[64 128]); figure;imag...

9 years ago | 0

Answered
to find variables in a string
For variables use symvar(str). It will create a cell array of variable names. Finding "built-in" functions can be performed u...

9 years ago | 0

| accepted

Answered
Color JPG image saved by imwrite() incompatible with Web Browser.
The array may be lacking the full data structure. The site http://radio.feld.cvut.cz/matlab/techdoc/printing/export21.html give...

10 years ago | 0