Community Profile

photo

William Rose


Active since 2007

Statistics

All
  • 6 Month Streak
  • Knowledgeable Level 5
  • Revival Level 3
  • Pro
  • Thankful Level 3
  • Personal Best Downloads Level 1
  • First Review
  • 5-Star Galaxy Level 1
  • First Submission
  • First Answer

View badges

Content Feed

View by

Answered
applying smote for multi-channel unbalanced dataset
@Demet, you're welcome. I notice that the manuscript link I provided took a long time to load, when I tried it. Here is an a...

20 hours ago | 0

Answered
applying smote for multi-channel unbalanced dataset
@Demet, "Matlab's smote functions", to which you refer, are from the File Exchange. That is not part of standard Matlab. The F...

1 day ago | 0

Answered
Rendering human avatar using forward velocity and turning rate inputs
@Jaskaran Singh Grover, I think you will have to do some serious coding on your own. Check out the Matlab File Exchange. I jus...

2 days ago | 0

Answered
MATLAB Answers Wish-list #5 (and bug reports)
Sometime a poster posts approximately the same quesiton more than once, for whatever reason. Is there a way for a moderator to m...

3 days ago | 0

Answered
How do I extract x&y axes data from a raster plot?
@ar, I assume these are action potential times for a set of neurons. What is the format of the data? Do you only have an image?...

3 days ago | 0

Answered
Calculate work has been done by pressure (detailed explanation inside)
@Miraboreasu, I think part of the lack of understanding that has arisen during our discussion is that I am not sure if the velo...

3 days ago | 1

| accepted

Answered
how to read a text file that contains a sinewave form in one column,then plot it on matlab?
@SimTec, It seems that you have opened the file for writing ('w') which erases the exisitng file, if it exists. You write the ...

3 days ago | 0

| accepted

Answered
how to draw a plane from X Y Z points
@Mikel Here is a code fragment that fits a plane to the 3D data in the file, and plots the 3D data from the file as well as the...

3 days ago | 0

| accepted

Answered
how to draw a plane from X Y Z points
@Mikel, It seems that you are using the word "plane" for a surface that is not a plane. Therefore I am not sure if I uderstand...

3 days ago | 0

Answered
Any suggestions to calculate the threshold of pixel intensity between two regions(the dip represents low intensity)
@BA, I need more information to understand and help. I see that your code gets two points (x1,y1 and x2,y2) on image 1 in a se...

4 days ago | 0

Answered
Triangle inequality for Gausisian Random Variable
@Ahmad Khalifi, N=10; R1=zeros(N,1); %to record the results R2=zeros(N,1); for T=1:N h=randn(1,2)+1i*randn(1,2); %this ...

6 days ago | 1

| accepted

Answered
Loop through a matrix and an equation
@Mohamed Asaad, clear y_i = [72.1 165.14 32.56 135.84 77.7 208.11 33.57 174.57 147.19... 147.44 147.05 208.54 -117.16 80....

6 days ago | 0

| accepted

Answered
Loop through a matrix and an equation
@Mohamed Asaad, I assume that when you wrote "the second belongs to P" you meant to write "the second belongs to T". Your equa...

6 days ago | 0

Answered
adding awgn noise to an audio signal and removing noise by wiener filter
@GARIKIPATI VENKATA, include the file extension in the file specificaiton for audioread and audiowrite. fs=44100; ...

7 days ago | 0

Answered
Doubts about digital signal processing methodology
@Chiranjeevi Viswa Teja Jupudi, Is the first time-domain Acc signal which you plotted the raw signal? Or is the plotted Acc sig...

8 days ago | 1

Answered
Create a loop which rolls the dice 100 times, stores the sum of all rolls in a variable and then plots a histogram of the sums.
@Baila, Unlike many post-ers, you have made an attempt, which is laudable. S = 6; R = 1; N = 2; T = 100; %out = randi([1 S...

8 days ago | 0

Answered
Work calculation from applied pressure
@Miraboreasu, You ask "How can I calculate the work has been done by pressure p". Do you mean the work done from time t=0 to t...

9 days ago | 1

| accepted

Answered
fit custom equation to dataset
@Julie Christoffersen, Different methods for fitting a nonlinear function (such as your nonlinear function) are at risk of find...

14 days ago | 0

| accepted

Answered
How can I calculate euclidian distance in RGB spaces for a skin lesion ?
@Ioanna St, Since there is a file missing which I need to run your code, I will just give a few suggesitons. Post the simplest...

14 days ago | 0

Answered
Curve Fitting Toolbox for Surface Extrapolation
@Tamas, I think interp2() is good. Vq = interp2(X,Y,V,Xq,Yq) Try it.

14 days ago | 0

Answered
Matlab Script that I can add a Gaussian Noise to a Discrete Wavelet Transform processed fault signal
@John Amoo-Otoo, If you have a fault signal x(t), processed by a DWT (or not), add Gaussian noise as shown. s=1; ...

15 days ago | 0

| accepted

Answered
I'm trying to sum every two row and store the answer in new matrix, but the code keep giving me the wrong sum and copy the wrong answer in all the row of the new matrix.
@ibrahim nathem, Agg_load_1=10*rand(8,1); N=length(Agg_load_1); s=Agg_load_1(1:2:end-1)+Agg_load_1(2:2:end); disp(Agg_load_1...

15 days ago | 0

Answered
I'm trying to sum every two row and store the answer in new matrix, but the code keep giving me the wrong sum and copy the wrong answer in all the row of the new matrix.
@ibrahim nathem, Agg_load_1=10*rand(8,1); N=length(Agg_load_1); s=zeros(floor(N/2),1); %allocate array for the sums of 2 elem...

15 days ago | 0

Answered
how to calculate the capacity loss of a battery?
@sandeep, [edit: correct speklling mistake] Your model formulation looks good. You write Qloss(%)=(nominal capacity-discharge ...

15 days ago | 0

| accepted

Answered
How to make a global matrix
@Robert Fields, %global system e=cat(3,a,b,c,d); disp(size(e)) Try that.

15 days ago | 0

Answered
How simulate the different body posture related to WBAN?and want to find the distance between 15 sensors deployed on body
@Ansar Shah, It can get very complicated! As @Walter Roberson pointed out, the mode of signal propagation (through body or on ...

16 days ago | 1

Answered
how to save coordinates in a text file?
@youssef hany, I do not see the matrix of selected points which you want to save. Maybe that is the problem. Here is an exampl...

16 days ago | 0

| accepted

Answered
what is my problem using split operator methods on gaussian wave packet time evolution in free space
@Daniel Niu, Plot abs(u), instead of u, and you will see that the transformed signal is still Gaussian, as expected. .

16 days ago | 0

Answered
Why do I received Error using Plot?
@Sofea Irene, I have moved my comment to be an answer, as I originally intended, and I have added to it. [edit: correct spellin...

16 days ago | 1

| accepted

Load more