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...
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...
2개월 전 | 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:...
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:...
2개월 전 | 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 ...
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 ...
2개월 전 | 0
문제를 풀었습니다
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
3개월 전
답변 있음
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...
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개월 전 | 3
| 수락됨
문제를 풀었습니다
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...
3개월 전
답변 있음
Average Absolute Deviation?
The Average Absolute Deviation (AAD) is the mean of deviations from a central point (central tendency). If the central point ...
Average Absolute Deviation?
The Average Absolute Deviation (AAD) is the mean of deviations from a central point (central tendency). If the central point ...
3개월 전 | 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...
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개월 전 | 0
답변 있음
blanks
@lowcalorie G = repmat(strcat(" ",datestr(now,'yyyy/mmm/dd HH:MM:SS')," "),10,1) fprintf(1,'%s\n',strtrim(G));
blanks
@lowcalorie G = repmat(strcat(" ",datestr(now,'yyyy/mmm/dd HH:MM:SS')," "),10,1) fprintf(1,'%s\n',strtrim(G));
3개월 전 | 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...
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개월 전 | 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);...
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개월 전 | 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 ...
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개월 전 | 0
답변 있음
Unable to remove target from internal database
testTarget = target.create("Processor", Name="My Processor", Manufacturer="XXX"); languageimplementation = target.create('Lan...
Unable to remove target from internal database
testTarget = target.create("Processor", Name="My Processor", Manufacturer="XXX"); languageimplementation = target.create('Lan...
3개월 전 | 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...
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개월 전 | 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...
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개월 전 | 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)
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개월 전 | 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...
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개월 전 | 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 +...
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개월 전 | 0
문제를 풀었습니다
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,...
3개월 전
문제를 풀었습니다
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...
3개월 전
문제를 풀었습니다
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...
3개월 전
문제를 풀었습니다
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, ...
3개월 전
문제를 풀었습니다
Periodic Table 101.
Given the atomic number (z), answer the symbol for that particular element of the <http://en.wikipedia.org/wiki/Periodic_table/ ...
3개월 전
문제를 풀었습니다
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...
3개월 전
문제를 풀었습니다
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...
3개월 전
문제를 풀었습니다
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 ...
3개월 전
문제를 풀었습니다
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 = ...
3개월 전
문제를 풀었습니다
How many days?!?
Christmas is coming earlier and earlier each year. Thanks to rampant commercialism and Christmas Creep, "The Twelve Days of Chr...
3개월 전