답변 있음
In this question, would dig be 2 inputs, such as 91 and 99? And lim can be any number the user calls?
hi champions2015 this is John BG <jgb2012@sky.com> the following is a slight variation of what's been asked, this function...

5년 이하 전 | 0

답변 있음
Yavuz In this question you have only 3 points, but you may need more. The function combinator.m is really useful when the ...

5년 이하 전 | 1

| 수락됨

답변 있음
f(x) = e^x-3x matlab code
Hi Adomas Bazinys this is John BG <jgb2012@sky.com> What you want to do is, the way you want to do it, indeed good exercis...

5년 이하 전 | 1

| 수락됨

답변 있음
second condition never gets executed - elseif (temp == 13.2) tried to run in 13b, 15b online edittors as well, any explanations or its a bug?
Hi Rohit Kumar Gupta This is John BG <jgb2012@sky.com> As mentioned by the previous contributors, when using a float for ...

5년 이하 전 | 0

답변 있음
How a binary image can be divided into four equal parts using loop ?
Hi Zara Khan this is John BG <jgb2012@sky.com> I use a for loop to answer your question, as requested, and I have added th...

5년 이하 전 | 1

| 수락됨

답변 있음
I have a nc file with 145 long, 129 lat and 10227 time values, I want to change this daily data (10,227) to monthly values. What could be easy way?
Hi Neha Kanda this is John BG <jgb2012@sky.com> 1. why more longitudes than latitudes: are there missing latitudes, or...

5년 이하 전 | 0

| 수락됨

답변 있음
What is wrong with my bisection method code?
Hi Microwave97 This is John BG <jgb2012@sky.com> Now your code doesn't show syntax errors: f=@(x) exp(2*x) - 3*x -4...

5년 이하 전 | 1

답변 있음
How to get matrix from plot ???
Hi Mohammad This is John BG <jgb2012@sky.com> 1. Allow me to start with the same image you have supplied op.jpg c...

5년 이하 전 | 0

| 수락됨

답변 있음
HELP REQUIRED IN PROGRAMMING
Hi Adarsh this is John BG <jgb2012@sky.com> there's a very easy way to obtain the variables you need with command *evalin*...

5년 이하 전 | 1

답변 있음
Hello everyone! I need your valuable help here.
Hi again Engdaw Chane this is John BG <jgb2012@sky.com> Mr D'Errico thanks for the correction, but I insist on the point t...

5년 이하 전 | 0

답변 있음
Create a matrix with a for loop
Hi Colin this is John BG jgb2012@sky.com 1. is there need for the for loop? i = -3:.5:2; k = 10.^i; ...

5년 이하 전 | 0

| 수락됨

답변 있음
how to solve a Plotting FFT problem
Hi Mohamed this is John BG <jgb2012@sky.com> if the time vector does not have a small enough step the output will show a s...

5년 이하 전 | 1

답변 있음
How can I give my x-axis predetermined values (a year)
Hi Jan van den Scheur this is John BG <jgb2012@sky.com> The problem with Star Strider's suggestion is that the class *time...

5년 이하 전 | 0

| 수락됨

답변 있음
How do I stack 10 shots from seismic source to produce a resultant signature with greater signal/noise ratio?
Hi David Norris this is John BG <jgb2012@sky.com> Calculate the average pulse repetition with a squelch and then chop the ...

5년 이하 전 | 0

답변 있음
error in corr2 function in matlab
Hi Shoba Mohan this is John BG <jgb2012@sky.com> Since the actual size of the input images, both the references and the un...

5년 이하 전 | 0

답변 있음
System of inequalities using logical operators
Hi Mr Dimopoulos this is John BG <jgb2012@sky.com> 1. The Intersections can be found the following way: For 1st f...

5년 이하 전 | 0

답변 있음
When to use 10 log 10 and 20 log 10 while calculating psnr of image ?
Hi Prashali Deshmukh this is John BG <jgb2012@sky.com> . 1. in MATLAB there is no *log20* indeed one can write a fun...

5년 이하 전 | 4

답변 있음
Hi this is John BG <jgb2012@sky.com> Instead of U=(sqrt(S)/n).*((B.*H)/(B+(2.*H))).^(2/3) use U=(sq...

5년 이하 전 | 1

답변 있음
Error using surf X, Y, Z, and C cannot be complex error
Hi this is John BG <jgb2012@sky.com> The problem is not in solving x = 0:0.8:pi; A = sin(x).^(1/3) B = cos(x)...

5년 이하 전 | 2

| 수락됨

답변 있음
Solving for Coefficient in Nonlinear 2nd-Order Differential Equation
Hi Alexander this is John BG <jgb2012@sky.com> 1. One of the tools available is MuPAD, start MuPAD with mupad ...

5년 이하 전 | 0

답변 있음
solving equation in matlab
Hi Esraa this is John BG <jgb2012@sky.com> *1. Check Real and Imaginary* Since the equation is complex, it's useful to ...

5년 이하 전 | 0

답변 있음
Checking repetition of random data
Hi Ahmed this is John BG <jgb2012@sky.com> so far, the supplied answers increase the probability to generate all-different...

5년 이하 전 | 0

답변 있음
searching row indices in a matrix
Hi Chaitanya to meet the requirement I want the row indices in B which correspond to a vectors. you may want to conside...

5년 이하 전 | 0

답변 있음
Here is the entire code. Trying to fit the data into a piecewise exponential fucntion and testing the maximum likelihood. Where is the mistake. Could not figure it out. Help please..
Hi Marwan this is John BG <jgb2012@sky.com> when correcting the following line [mldln,conf1] = mle(xdata,'pdf',@pdf...

5년 이하 전 | 0

| 수락됨

답변 있음
Creating a script that finds all triple of the Pythagorean theorem.
Alec use the very useful function combinator, available from MATLAB CENTRAL, i copy it here at the end of my answer. Pyt...

5년 이하 전 | 1

| 수락됨

답변 있음
How do I characterize these cells by area and diameter?
Hi Tushar this is John BG <jgb2012@sky.com> Comment: the start image of this answer is part of the batch including th...

5년 이하 전 | 1

| 수락됨

답변 있음
calculation variable x besselj
Hi Thomas this is John BG <jgb2012@sky.com> One way to solve this equation is with the function *intersections.m* by Mr Sc...

약 5년 전 | 0

질문

GCHQ puzzle for IET readers October 2017, any one with same results?
Hi this is John BG <jgb2012@sky.com> The Institute of Engineering and Technology (IET <http://www.theiet.org/ www.theiet./...

약 5년 전 | 답변 수: 0 | 0

### 0

답변

답변 있음
Override default behavior of Shift+F10
Hi Rayle this is John BG <jgb2012@sky.com> the following only captures one keystroke at a time, but as long as the figure ...

약 5년 전 | 0

답변 있음
Real time detect keypress
Hi Michael this is John BG jgb2012@sky.com 1. Let me show you how to use figure to capture keystrokes ...

약 5년 전 | 4