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
Fundamental question about extracting a portion of repeating data over a large data set.
@David Probst, This version reads data from the file you posted. The columns are time, sensor reading. The first data point i...

etwa 3 Stunden ago | 0

Answered
Fundamental question about extracting a portion of repeating data over a large data set.
@David Probst, Adjusting my answer in light of your comments and in light of the figures you posted. In the second figure you ...

etwa 5 Stunden ago | 0

Answered
Fundamental question about extracting a portion of repeating data over a large data set.
@David Probst [Edit: fix typo in my comments: change "No" to "Now". Code is OK, I think.] I will make some data, assuming Pt ...

etwa 7 Stunden ago | 0

Answered
Contour plot for a non rectangular object
@Ghazwan, [X,Y]=meshgrid(x,y) makes a grid where all the x values are the same across the grid, and likewise for yhe y values. ...

etwa 8 Stunden ago | 0

Answered
Plotting x(2t+2) if x(t) is defined as an anonymous function
@Yakov, [edit: correct typos (no typos in the code) ] You need to define u. If you define the muliplications inside g() with...

etwa 10 Stunden ago | 1

Answered
How do I get the line of best fit and its equation from multiple datasets?
@Kogulan Paulmurugan, It appears from the code that you are reaidng data from 2 files, and you ar extracting four portions of t...

etwa 13 Stunden ago | 0

Answered
how to delete certain columns and rows from matrix
If you want to sepcify the rows and columns to delete: M = [1000 -1000 0 0; -1000 10000 ...

etwa 13 Stunden ago | 0

Answered
how to delete certain columns and rows from matrix
@Antrea Plastira, M = [1000 -1000 0 0; -1000 10000 0 -9000; 0 ...

etwa 14 Stunden ago | 0

| accepted

Answered
Choosing one peak out of two in FFT function
@Hussein Kokash, The output of y=fft(x) is symmetric about the middle of the array y.* This is due to the mathematics of the d...

etwa 16 Stunden ago | 0

Answered
Monte Carlo method to estimate pi, but I'm lost
@Kevin Nelson, [correct my many typos] The idea is to use Monte Carlo estimation to estimate pi, and to see how the estimate g...

ein Tag ago | 0

Answered
How to plot the convolution integral of two functions
@Anthony Koning, Let's use e(-x) and e(-2x), since e(+20) is so big. N=21; deltax=.5; x=(0:N-1)*deltax; xc=(0:2*N-2)*deltax...

2 Tage ago | 1

Answered
How to solve systems of non linear partial differential equations using finite difference method?
@RITIKA Jaiswal, Edited: Corrected error in the code in the equation for Tcool. Changed vz=1 to vz=0.5, to match value give...

2 Tage ago | 0

Answered
How to plot lines between points
@KonVak N=76; %number of points z=80*rand(N,3); %point coordinates routes=[1 5 46 1 0 0 0 0 0 0 0; 1 41...

3 Tage ago | 1

| accepted

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

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

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

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

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

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

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

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

6 Tage ago | 1

| accepted

Answered
how to draw a plane from X Y Z points
@Mikel, [edit: corrected a + that should have been -, on right side of equation z=... below] It seems that you are using the w...

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

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

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

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

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

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

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

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

12 Tage ago | 1

| accepted

Load more