Answered

how can I group pairs of numbers that share a common number? Thank you!

Hi Jonathan this is John BG jgb2012@sky.com the attached script answers your question, explanation 1. w is going t...

how can I group pairs of numbers that share a common number? Thank you!

Hi Jonathan this is John BG jgb2012@sky.com the attached script answers your question, explanation 1. w is going t...

mer än 5 år ago | 0

Answered

How to plot Error function of complex numbers

Hi Harekrishna Mandal this is John BG <jgb2012@sky.com> Although MATLAB standard functions erf and erfc only work with rea...

How to plot Error function of complex numbers

Hi Harekrishna Mandal this is John BG <jgb2012@sky.com> Although MATLAB standard functions erf and erfc only work with rea...

mer än 5 år ago | 1

| accepted

Answered

Problems finding exact match for a string

Hi J M this is John BG <jgb2012@sky.com> From the additional information for a much larger set of info .. The GN va...

Problems finding exact match for a string

Hi J M this is John BG <jgb2012@sky.com> From the additional information for a much larger set of info .. The GN va...

mer än 5 år ago | 1

Answered

How to Generate 100 Random points inside the figure?

Hi Nathaniel this is John BG <jgb2012@sky.com> The following script, attached test_125.m, scatters points uniformly inside...

How to Generate 100 Random points inside the figure?

Hi Nathaniel this is John BG <jgb2012@sky.com> The following script, attached test_125.m, scatters points uniformly inside...

mer än 5 år ago | 1

Answered

How can i use interval with decimal at the end of a count in for loop. e.g. t=1:1:18.7

Hi Gali Musa this is John BG <jgb2012@sky.com> May be you would like to consider using an additional reference vector ...

How can i use interval with decimal at the end of a count in for loop. e.g. t=1:1:18.7

Hi Gali Musa this is John BG <jgb2012@sky.com> May be you would like to consider using an additional reference vector ...

mer än 5 år ago | 0

Answered

how to make a 2 files .mat become 1?

Hi Veizal Rasyid this is John BG <jgb2012@sky.com> combining mat files into a single mat file is simple: 1. load the...

how to make a 2 files .mat become 1?

Hi Veizal Rasyid this is John BG <jgb2012@sky.com> combining mat files into a single mat file is simple: 1. load the...

mer än 5 år ago | 1

Answered

Why is the pause function not activating?

Hi Grant Jones this is John BG <jgb2012@sky.com> Again, pause is a MATLAB command, shouldn't you be sending the pause wrap...

Why is the pause function not activating?

Hi Grant Jones this is John BG <jgb2012@sky.com> Again, pause is a MATLAB command, shouldn't you be sending the pause wrap...

mer än 5 år ago | 0

Answered

Delete rows with characters in cell array

Hi JB thanks for pointing out the code supplied by gnovice. I just tried it and, with gnovice characters like '@' are take...

Delete rows with characters in cell array

Hi JB thanks for pointing out the code supplied by gnovice. I just tried it and, with gnovice characters like '@' are take...

mer än 5 år ago | 0

Solved

Sum the numbers on the main diagonal

Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

mer än 5 år ago

Solved

Too mean-spirited

Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

mer än 5 år ago

Solved

Back to basics - mean of corner elements of a matrix

Calculate the mean of corner elements of a matrix. e.g. a=[1 2 3; 4 5 6; 7 8 9;] Mean = (1+3+7+9)/4 = 5

mer än 5 år ago

Answered

Plot loop n variables

Hi Mr Rodriguez this is John BG <jgb2012@sky.com> while it's a good general guideline to try to work with variables that u...

Plot loop n variables

Hi Mr Rodriguez this is John BG <jgb2012@sky.com> while it's a good general guideline to try to work with variables that u...

mer än 5 år ago | 2

Answered

A bug im simplify in the new Symbolic Toolbox?

Hi Dingyu Xue this is John BG <jgb2012@sky.com> Both expressions are the same t=[-10:.1:10]; y1=2./((t + 2).^2 + 1...

A bug im simplify in the new Symbolic Toolbox?

Hi Dingyu Xue this is John BG <jgb2012@sky.com> Both expressions are the same t=[-10:.1:10]; y1=2./((t + 2).^2 + 1...

mer än 5 år ago | 0

Answered

parsing XML file with defined format

Hi Michael this is John BG <jgb2012@sky.com> Have you tried Charles Lehalle's xmltools? <https://uk.mathworks.com/matla...

parsing XML file with defined format

Hi Michael this is John BG <jgb2012@sky.com> Have you tried Charles Lehalle's xmltools? <https://uk.mathworks.com/matla...

mer än 5 år ago | 0

Answered

Using Randperm between two values

Danté this is John BG <jgb2012@sky.com> Just use the output of randperm to index [60:75] set_60_75=[60:1:75] set_...

Using Randperm between two values

Danté this is John BG <jgb2012@sky.com> Just use the output of randperm to index [60:75] set_60_75=[60:1:75] set_...

mer än 5 år ago | 2

Answered

Using fzero to find the second intercept of the two curves.

Hi Andy this is John BG <jgb2012@sky.com> With the following you get both zero points of g(x)=f(x)*x=0 1. 1st point...

Using fzero to find the second intercept of the two curves.

Hi Andy this is John BG <jgb2012@sky.com> With the following you get both zero points of g(x)=f(x)*x=0 1. 1st point...

mer än 5 år ago | 0

Answered

Why is the pause function not activating?

Hi Grant Jones this is John BG <jgb2012@sky.com> step is a built in function Apparently, from the help file it looks li...

Why is the pause function not activating?

Hi Grant Jones this is John BG <jgb2012@sky.com> step is a built in function Apparently, from the help file it looks li...

mer än 5 år ago | 1

Answered

Plotting a spectrum-like figure

Hi Tahmid This is John BG <jgb2012@sky.com> You don't want to use spectrogram because not enough time lines, right? Per...

Plotting a spectrum-like figure

Hi Tahmid This is John BG <jgb2012@sky.com> You don't want to use spectrogram because not enough time lines, right? Per...

mer än 5 år ago | 0

Answered

Questions about rf spectrum real-time processing

Hi Taeyoung Hah this is John BG <jgb2012@sky.com> 1. In <http://uk.rs-online.com/web/p/products/1112375/?cm_mmc=UK-P...

Questions about rf spectrum real-time processing

Hi Taeyoung Hah this is John BG <jgb2012@sky.com> 1. In <http://uk.rs-online.com/web/p/products/1112375/?cm_mmc=UK-P...

mer än 5 år ago | 0

Answered

How can I determine if my data is part of one population or another?

Hi Mr Anzulis This is John BG <jgb2012@sky.com> since not yet sure the sampling is needed, let's start determining common ...

How can I determine if my data is part of one population or another?

Hi Mr Anzulis This is John BG <jgb2012@sky.com> since not yet sure the sampling is needed, let's start determining common ...

mer än 5 år ago | 0

| accepted

Answered

2D Surface with periodic structure.

Hi Michael this is John BG <jgb2012@sky.com> 1. LengthX = .03; % X Length of sample in mm LengthY = .03; % Y L...

2D Surface with periodic structure.

Hi Michael this is John BG <jgb2012@sky.com> 1. LengthX = .03; % X Length of sample in mm LengthY = .03; % Y L...

mer än 5 år ago | 1

| accepted

Answered

Function or Process For Time Series Correction

Hi Nick this is John BG <jgb2012@sky.com> the problem of obtaining same length is solved choosing the optimal values of in...

Function or Process For Time Series Correction

Hi Nick this is John BG <jgb2012@sky.com> the problem of obtaining same length is solved choosing the optimal values of in...

mer än 5 år ago | 0

Answered

how to solve trigonometric equations

Hi Jenny this is John BG <jgb2012@sky.com> *1.* The equations in page 409, 3rd page, of the document you have supplied,...

how to solve trigonometric equations

Hi Jenny this is John BG <jgb2012@sky.com> *1.* The equations in page 409, 3rd page, of the document you have supplied,...

mer än 5 år ago | 1

Answered

Solve: floor(x/5) - floor(x/7) = 1 in Matlab

Hi Sourav Kumar this is John BG <jgb2012@sky.com> x=[1:1:17] nonzeros(x.*((floor(x/5)-floor(x/7))==1)) = ...

Solve: floor(x/5) - floor(x/7) = 1 in Matlab

Hi Sourav Kumar this is John BG <jgb2012@sky.com> x=[1:1:17] nonzeros(x.*((floor(x/5)-floor(x/7))==1)) = ...

mer än 5 år ago | 0

Answered

Solving an equation with integral with one variable

Hi Sergio this is John BG <jgb2012@sky.com> Since the primitive of exp(x^2)*x^2 is Ly=x*exp(x^2)/2-.5*1j*...

Solving an equation with integral with one variable

Hi Sergio this is John BG <jgb2012@sky.com> Since the primitive of exp(x^2)*x^2 is Ly=x*exp(x^2)/2-.5*1j*...

mer än 5 år ago | 1

| accepted

Answered

subplot log-scale set range

Hi RuiQi this is John BG <jgb2012@sky.com> compress the data on Y axis by increasing the Y span of axis handle Let's sa...

subplot log-scale set range

Hi RuiQi this is John BG <jgb2012@sky.com> compress the data on Y axis by increasing the Y span of axis handle Let's sa...

mer än 5 år ago | 0

Answered

Is there the more elegant way to do this?

Hi Mukesh Kumar this is John BG <jgb2012@sky.com> Elegance like beauty lives in the eyes of the observer, so while some pe...

Is there the more elegant way to do this?

Hi Mukesh Kumar this is John BG <jgb2012@sky.com> Elegance like beauty lives in the eyes of the observer, so while some pe...

mer än 5 år ago | 0

Answered

retinal fundus image branch issue

Hi again this is John BG <jgb2012@sky.com> ok, let's recap 1. *WRONG START IMAGE* The image supplied in the quest...

retinal fundus image branch issue

Hi again this is John BG <jgb2012@sky.com> ok, let's recap 1. *WRONG START IMAGE* The image supplied in the quest...

mer än 5 år ago | 0

Submitted

Pozar chapter 05 impedance match, exercise 19

Pozar chapter 05 impedance match, exercise 19, 4 sections Chebyshev impedance transformer

mer än 5 år ago | 5 downloads |