Statistics
RANK
282
of 299,706
REPUTATION
314
CONTRIBUTIONS
2 Questions
122 Answers
ANSWER ACCEPTANCE
50.0%
VOTES RECEIVED
48
RANK
1,787 of 20,791
REPUTATION
1,040
AVERAGE RATING
4.70
CONTRIBUTIONS
41 Files
DOWNLOADS
87
ALL TIME DOWNLOADS
9410
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
how to make 3D image from x(50x1double),y(100x1double),z (80x1double), intensity(50x100x80)
Without having your actual data, perhaps something like ... efieldimage = repmat(linspace(1,255,255),128,1); numPoints = 6...
21 days ago | 0
Triangular-weighted moving average filter
Here's an example of high frequency noise being removed with a triangular filter, if by width you mean the base of the triangle:...
23 days ago | 0
Use string to define variable
There are many ways to do this. Here's one that shows how to make the format of the T and V values have the same width and will ...
23 days ago | 0
Solved
Is this matrix orthogonal?
Given a square matrix, a, determine whether it is orthogonal. INPUT: a, a n x n matrix OUTPUT: true or false
24 days ago
Programmatically check type of parpool
delete(gcp('nocreate')) pool = parpool('Threads') class(pool) % test of whether or not pool is a thread parallel pool co...
24 days ago | 3
| accepted
Solved
Subset Sum
Given a vector v of integers and an integer n, return the the indices of v (as a row vector in ascending order) that sum to n. I...
24 days ago
Average Absolute Deviation?
The Average Absolute Deviation (AAD) is the mean of deviations from a central point (central tendency). If the central point ...
24 days ago | 0
Fitting 2D Gaussian to histogram
Perhaps this way: clearvars; A = [574.96086;611.48546;524.57176;514.84221;598.11497;491.96027;508.39190;616.15544;593.87965;75...
25 days ago | 0
blanks
@lowcalorie G = repmat(strcat(" ",datestr(now,'yyyy/mmm/dd HH:MM:SS')," "),10,1) fprintf(1,'%s\n',strtrim(G));
25 days ago | 0
add white gaussian noise
@Jessie Bessel % signal is a sine wave of 2 Hz nSamples = 1000; f = 2; % [Hz] time = linspace(0, 2, nSamples+1); s...
25 days ago | 0
Hi , please what is the difference between randn and awgn , when adding white gaussian noise to get snr = 10dB , also I see difference in result when using snr function .
They are the same. % signal is a sine wave of 2 Hz nSamples = 10000; f = 2; % [Hz] time = linspace(0, 2, nSamples+1);...
25 days ago | 0
The detectImportOptions not able to recognize and use 2nd row of a file as column name
filename = 'data.csv'; dataTable = readtable(filename,'NumHeaderLines',1) dataTable = 1×4 table second Volt ...
26 days ago | 0
Unable to remove target from internal database
testTarget = target.create("Processor", Name="My Processor", Manufacturer="XXX"); languageimplementation = target.create('Lan...
26 days ago | 0
gaussian white noise with zero mean and 20 db power
You also need to define the signal power level to get the order of magnitude. signalPower = 2; % calculate the signal power fro...
26 days ago | 0
MATLAB HELP STANDARD DEVIATION, MEAN, HISTOGRAMS
Try this: force_lbs = [243,236,389,628,143,417,205,404,464,605,137,123,372,439,... 497,500,535,577,441,231,675,132,196,217...
27 days ago | 0
where is the setting to page/summarize large tables?
Did you try (and put a ';' at the end of the line to avoid outputting the whole table to console): summary(T)
27 days ago | 0
how to make color and lighting continuouse using patch
Try this: clear all; close all clc vertices=[0 0 0; 1 0 0; 1 1 0 ;0 1 0; 0 0 1; 1 0 1; 1 1 1; 0 1 1]; faces=[1 2 6 5; 2 3 7...
27 days ago | 0
The mean (average) and standard deviation of the errors.
With simulated 'actual' and 'measured' data: x_actual_values = sin(linspace(0,pi,1000)); x_measured_values = x_actual_values +...
27 days ago | 0
Solved
I've got the power! (Inspired by Project Euler problem 29)
Consider all integer combinations of a^b and b^a for the integer values 2 ≤ a ≤ 4 and 2 ≤ b ≤ 5: 2^2=4, 2^3=8, 2^4=16,...
28 days ago
Solved
Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...
28 days ago
Solved
Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...
28 days ago
Solved
Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...
28 days ago
Solved
Periodic Table 101.
Given the atomic number (z), answer the symbol for that particular element of the <http://en.wikipedia.org/wiki/Periodic_table/ ...
28 days ago
Solved
Mersenne Primes
A Mersenne prime is a prime number of the form M = 2^p - 1, where p is another prime number. For example, 31 is a Mersenne prim...
28 days ago
Solved
Determine if input is a perfect number
A perfect number occurs whent the sum of all divisors of a positive integer, except the number itself, equals the number. Examp...
28 days ago
Solved
Flip the main diagonal of a matrix
Given a n x n matrix, M, flip its main diagonal. Example: >> M=magic(5); >> flipDiagonal(M) 9 24 1 ...
28 days ago
Solved
Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...
28 days ago
Solved
How many days?!?
Christmas is coming earlier and earlier each year. Thanks to rampant commercialism and Christmas Creep, "The Twelve Days of Chr...
29 days ago