답변 있음
Question about using ODE45
Hi Nicia this is John BG <jgb2012@sky.com> 1. t is just a parameter, not the reference vector of the differential equat...

6년 초과 전 | 1

답변 있음
how to import the output of a function displayed
Hi segun this is John BG <jgb2012@sky.com> Let be your data for instance A=randi([-1e4 1e4],5,1) 1. choose the Exc...

6년 초과 전 | 0

| 수락됨

답변 있음
MATLAB plotting problems...
Hi David this is John BG <jgb2012@sky.com> your code doesn't plot because m is scalar while y is a vector. command plot...

6년 초과 전 | 1

| 수락됨

답변 있음
How to use matlab to count these particles?
Hi Tushar this is John BG <jb2012@sky.com> 1.- Acquiring petri image, using green layer only, manually binarising the wh...

6년 초과 전 | 9

답변 있음
4 non linear simultaneous equations
Hi Misha this is John BG <jgb2012@sky.com> 1. define the function to solve with in for instance a separate file fu...

6년 초과 전 | 0

| 수락됨

답변 있음
I have a question in image processing, this code shows how to add noise to the image and then retrieve it again ... The problem when retrieving the image error occurs and show the image that was retrieved in white
Hi Ahmed I have applied some changes to your code but perhaps you would like to consider using a different filter. attache...

6년 초과 전 | 0

| 수락됨

답변 있음
Euclidean distance (ED)calculation in matlab
Hi TUSHAR MURATKAR this is John BG <jgb2012@sky.com> I have written a scaled solution with only 12 rows 1. the Eucli...

6년 초과 전 | 0

| 수락됨

답변 있음
Generating unique random numbers less than 1 in matrix
Hi Hany Salem this is John BG <jgb2012@sky.com> 1. Initial consideration The 'shoot first and check later' approach...

6년 초과 전 | 1

답변 있음
String not read correctly
Hi Lmm3 this is John BG jgb2012@sky.com Why not simply using a switch? b = 'AGA'; switch b case {'UUU' ...

6년 초과 전 | 1

답변 있음
need to use a function to calibrate the weight of a alkan.
Hi Kjetil Svihus This is John BG <jgb2012@sky.com> The function you ask for has already been implemented by Gerhard Nieuwe...

6년 초과 전 | 0

답변 있음
I am trying to do this problem, but I'm having some issues with steps 2 3 and 4. I thought I did it right, but the values stored in the "velocites" vector all share the same value and they shouldn't. Any help would be appreciated
Hi Caleb this is John BG <jgb2012@sky.com> I have reproduced the steps listed in your question, not to optimise code or sp...

6년 초과 전 | 0

답변 있음
what is the wrong in this code?
Hi Ahmed this is John BG <jgb2012@sky.com> 1. it may be that rather than real an imaginary parts, you may consider usin...

6년 초과 전 | 1

답변 있음
nanmean returns -Inf
Hi Balsip this is John BG <jgb2012@sky.com> 1. while A=[NaN NaN -12 NaN NaN NaN NaN -1 -5 -8 NaN NaN NaN NaN -20 N...

6년 초과 전 | 1

| 수락됨

답변 있음
Can someone please provide me with the code for this plot
Hi Ajshay Verma this is John BG <jgb2012@sky.com> 1. A possible approach would be to use the common ODE tools, but, at ...

6년 초과 전 | 1

| 수락됨

답변 있음
how to find the largest scalar in array with 2 ways?
Hi AnhThu Le this is John BG jgb2012@sky.com Let's say you have the following matrix A=randi([1 10],randi([1 5],1,1),...

6년 초과 전 | 0

| 수락됨

답변 있음
Removing like terms in a matrix
hi there this is John BG <jgb2012@sky.com> 1. the data A = [1 2 3 4 5 6 7 8 9] B = [2 4 5 8 9] 2. w...

6년 초과 전 | 1

답변 있음
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...

6년 초과 전 | 0

답변 있음
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...

6년 초과 전 | 2

| 수락됨

답변 있음
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...

6년 초과 전 | 1

답변 있음
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...

6년 초과 전 | 1

답변 있음
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 ...

6년 초과 전 | 0

답변 있음
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...

6년 초과 전 | 1

답변 있음
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...

6년 초과 전 | 0

답변 있음
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...

6년 초과 전 | 0

답변 있음
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...

6년 초과 전 | 2

답변 있음
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...

6년 초과 전 | 0

답변 있음
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...

6년 초과 전 | 0

답변 있음
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_...

6년 초과 전 | 2

답변 있음
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...

6년 초과 전 | 0

답변 있음
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...

6년 초과 전 | 1

더 보기