Statistics
RANK
283
of 300.343
REPUTATION
314
CONTRIBUTIONS
2 Questions
122 Answers
ANSWER ACCEPTANCE
50.0%
VOTES RECEIVED
48
RANK
1.774 of 20.926
REPUTATION
1.051
AVERAGE RATING
4.70
CONTRIBUTIONS
41 Files
DOWNLOADS
107
ALL TIME DOWNLOADS
9516
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...
3 maanden 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:...
3 maanden 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 ...
3 maanden ago | 0
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...
3 maanden ago | 3
| accepted
Average Absolute Deviation?
The Average Absolute Deviation (AAD) is the mean of deviations from a central point (central tendency). If the central point ...
3 maanden 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...
3 maanden ago | 0
blanks
@lowcalorie G = repmat(strcat(" ",datestr(now,'yyyy/mmm/dd HH:MM:SS')," "),10,1) fprintf(1,'%s\n',strtrim(G));
3 maanden 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...
3 maanden 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);...
3 maanden 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 ...
3 maanden ago | 0
Unable to remove target from internal database
testTarget = target.create("Processor", Name="My Processor", Manufacturer="XXX"); languageimplementation = target.create('Lan...
3 maanden 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...
3 maanden 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...
3 maanden 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)
3 maanden 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...
3 maanden 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 +...
3 maanden ago | 0
Im designing a game of battleship, but. im trying to use a code to prevent the user from placing a ship out of bounds
Here is a solution with user interaction/prompting: flagInteractive = 1; % prompt user for ship placement flagRepeatable = 0; ...
bijna 4 jaar ago | 0
how to split image to 3 parts
Here are two ways: close all clear clc [imdata,~] = imread('image.jpeg'); % split into three color channels of equal ...
bijna 4 jaar ago | 0
How to plot Taylor diagram for four time series.
Here's how: Download this: https://www.mathworks.com/matlabcentral/fileexchange/20559-taylor-diagram And the attached allsta...
bijna 4 jaar ago | 1
Index exceeds the number of array elements. Index must not exceed 1.
Hi, I was trying to figure out what your data are to help, but I couldn't find it online. I did find a spectrum at simbad. Is...
bijna 4 jaar ago | 0
How can I plot on the same four figures on my code which changes while list numbers changing?
There's something amiss with the xlsx reading, but that wasn't the question. This will update the plots, with a slight delay be...
bijna 4 jaar ago | 0
| accepted
Unwrapping the mesh on 2D plane
Here's one way - it's actually a bit overcomplicated than it needs to be in the code below to make it more general: R = 1; Num...
bijna 4 jaar ago | 0
| accepted
Error in copying figure - Variables - Error using Builtin Path - Could not be absulutized
type >> which pathdef It could be that the pathdef.m file is missing. If it is missing, type >> restoredefaultpath >> matl...
bijna 4 jaar ago | 0
| accepted
Calculating closing speed between pair of aircraft
Is this what you're looking for? % Given values of positions and velocities of airplanes t0_s = [12.0*3600.0 + 0.0*60.0 + 2.0;...
bijna 4 jaar ago | 0
Euclidian distance showing different result for different formula
Some code - look at the sizes of the arrays to see why: nsamples = 25; ncomponents = 4; s = RandStream('dsfmt19937','Seed',11...
bijna 4 jaar ago | 0
Need help on this program
Try something like this: function valid = valid_date(year,month,day) if ((isscalar(year) && year>0 ) && (isscalar(month) && mo...
bijna 4 jaar ago | 1
| accepted
When I try simple statistics function normpdf, it does not work.
You can write your own normpdf if that is all you need. Here it is as an anonymous function (see: https://www.originlab.com/doc...
bijna 4 jaar ago | 1
| accepted
Check for missing argument or incorrect argument data type in call to function 'integral'.
One way is to use anonymous functions f = @(x) sqrt(2)*x.^3; g = @(theta) 4+2*(sin(theta).^2); a = integral(f, 0, 9); b ...
bijna 4 jaar ago | 1
Plot overlapped points (Matlab 2020a)
Just some ideas: npts = 200; true_value = randn(npts,1); Estimates1 = true_value + 0.01*randn(npts,1); Estimates2 = true_val...
bijna 4 jaar ago | 0
| accepted
read and use .txt file
There's a lot of extra characters in your text file. % frequency, amplitude and phase str = fileread('draft.txt'); str = st...
bijna 4 jaar ago | 0











