Community Profile # William Rose

Active since 2007

#### Statistics

All
• • • • • • • • • • #### Content Feed

View by

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...

circa 10 ore ago | 0

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...

circa 19 ore ago | 0

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?...

circa 19 ore ago | 0

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...

circa 20 ore ago | 0

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 ...

circa 23 ore ago | 0

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...

circa 24 ore ago | 0

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...

1 giorno ago | 0

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...

2 giorni ago | 0

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 ...

5 giorni ago | 1

| accepted

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....

5 giorni ago | 0

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...

5 giorni ago | 0

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; ...

5 giorni ago | 0

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...

7 giorni ago | 1

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...

7 giorni ago | 0

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...

7 giorni ago | 0

| accepted

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

12 giorni ago | 0

| accepted

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...

12 giorni ago | 0

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

12 giorni ago | 0

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; ...

13 giorni ago | 0

| accepted

I have two matrices the same size 'F1result' and 'F2result'. I need to compare them element by element and create a new matrices 'F' with whichever value is greater.
@Sean Flanagan, F1res=rand(3,3), F2res=rand(3,3) Fmaxres=max(F1res,F2res) It works.

13 giorni ago | 1

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.

13 giorni ago | 0

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...

13 giorni ago | 0

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 ...

14 giorni ago | 0

| accepted

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

14 giorni ago | 0

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 ...

14 giorni ago | 1

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...

14 giorni ago | 0

| accepted

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. .

14 giorni ago | 0

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...

14 giorni ago | 1

| accepted