Community Profile

photo

John BG


Last seen: 3 months ago Active since 2014

MIET 36486065
MEng Telecommunication Systems
UPC ETSETB Barcelona

Statistics

All
  • MATLAB Central Treasure Hunt Finisher
  • Personal Best Downloads Level 3
  • Guiding Light
  • 12 Month Streak
  • Thankful Level 2
  • Revival Level 2
  • Knowledgeable Level 4
  • First Answer
  • Commenter
  • Solver

View badges

Content Feed

Answered
How can I convert serial data to a binary sequence?
There are a couple ways to do this. The comments below are referring to John's initial Answer (Approach 2). Approach 1: For the ...

3 months ago | 0

| accepted

Answered
Waveguide Modes, tan((pi*d/lambda)-(m*pi/2))=sqrt((sin^2tetac/sin^2teta)-1)
Hi Zeynep Kahraman this is John BG <jgb2012@sky.com> 1. The equation itself can be approach in different ways, Symbolic...

3 years ago | 0

Answered
How to find the first element in a vector of differing consecutive values?
Hi Russel this is John BG jgb2012@sky.com 1.- generating data N=5 a=randi([-1000 1000],1,N); b=2*(randi([0 1],1...

3 years ago | 0

Answered
finding closer points to a given co-ordinates
Hi Subarna Giri this is John BG <jgb2012@sky.com> On April 30th I answered the really similar question nearest point fr...

3 years ago | 0

Answered
cutting up the signal into repeating parts
Hi Sara Bitarafan this is John BG <jgb2012@sky.com> please have a look at the attached script. . 1.- Acquiring sign...

3 years ago | 3

Answered
Please help. I need to read this file and isolate column 2.
Hi Charles Naegele this is John BG <jgb2012@sky.com> 1. You are having the same result as if you were using textscan in...

3 years ago | 0

| accepted

Answered
How can I draw smithchart ? I'm gettting an error
Hello Ali this is John BG <jgb2012@sky.com> You are using some of the functions I have written to help develop MATLAB code...

3 years ago | 1

Answered
How would you make a contour plot of a 3 column matrix?
Hi Louis van Herwijnen this is John BG <jgb2012@sky.com> 1.- acquiring data from the provided Excel file clear...

3 years ago | 3

| accepted

Answered
how to concatenate tables stored in a structure
Hi effess this is John BG <jgb2012@sky.com> there's no need to use the command cat or vertcat. just concatenate the tab...

3 years ago | 0

Answered
ode45 command matlab help
Hi Abdullaziz this is John BG <jgb2012@sky.com> 1. the ODE is simple and it can be split into 2 parts: 1000*dV...

3 years ago | 0

Answered
How do I find the percentage for the area of white colour over the area of the full image?
Hi Nursyahirah this is John BG <jgb2012@sky.com> When one zooms in it turns out that KSSV answer includes a lot of grey pi...

3 years ago | 0

| accepted

Answered
How to solve this simple system of 2 equation in MATLAB
Hi Abdulaziz this is John BG <jgb2012@sky.com> syms v Fx Fy D L b=[D ;L] b = D L A=...

3 years ago | 1

| accepted

Answered
separating an image into two images
Hi Basma this is John BG <jgb2012@sky.com> 1.- In order to split the image as requested there's no need to convert the ...

3 years ago | 0

Answered
How do I count the total number 'AA' repeats in the text? I managed to count how many times it appears in each cell, but don't know how to add it up.
Hi Nitzan Khan this is John BG <jgb2012@sky.com> 1.- According to <https://stackoverflow.com/questions/26600735/mat...

3 years ago | 0

Answered
How can I plot a triangle with its altitudes?
Hi Jack Bason this is John BG <jgb2012@sky.com> I have rearranged your code to do what you asked for, please find attach...

3 years ago | 0

Answered
nearest point from two matrices
Hi Busy Bee this is John BG <jgb2012@sky.com> 1.- Generating data . clear all;clc;close all N=10 Ln=...

3 years ago | 0

Answered
How to find the point of intersection of a line and a curve?
Hi Venkata this is John BG <jgb2012@sky.com> In order to simplify the acquisition of data from the .csv files you have...

3 years ago | 1

| accepted

Answered
Random Sampling of Repeated Numbers in an Array
Hi Masato this is John BG <jgb2012@sky.com> I have done the following corrections to your code 1.- the mismatch error...

3 years ago | 1

| accepted

Answered
hello i need clearer circle after performing the below code help me plz
Hi Shivu Shetty this is John BG <jgb2012@sky.com> to acquire center and surface points on the image, use the attached ginp...

3 years ago | 0

| accepted

Answered
Line of sight between points in a logical matrix
Hi Roddy this is John BG <jgb2012@sky.com> 1.- the map clear all;close all;clc S1=30;S2=30; ema...

3 years ago | 2

Answered
How do I quantify this image based on area and perimeter?
Hi Tushar this is John BG <jgb2012@sky.com> 1. acquiring image A=imread('001.jpg'); h1=figure(1);imshow(A) ax=...

3 years ago | 3

| accepted

Answered
Caculating the sum of elements and building a vector and a matrix with letters
Hi Lee this is John BG <jgb2012@sky.com> 1.- Simulating data n=12 m=randi([1 10],n,1); x=randi([-13 13],n,1)...

3 years ago | 1

| accepted

Answered
how to do vector
Hi Maria this is John BG <jgb2012@sky.com> the problem is the line psi=reshape(series,T,N); inside the function pd...

3 years ago | 0

Answered
Row detection in crops
UNDER CONSTRUCTION - REACHED LIMIT AMOUNT UPLOADS Hi Siscu this is John BG <jgb2012@sky.com> Allow me to answer your ...

3 years ago | 0

| accepted

Answered
how to find large curvature location
Hi Michael This is John BG <jgb2012@sky.com> There's an easy way to encircle the points you want, with a high degree of ac...

3 years ago | 2

| accepted

Answered
why is my error plot not showing?
Hi Luis Garcia this is John BG <jgb2012@sky.com> there's no need for a for loop x = linspace(-10,10,100); h = logs...

3 years ago | 1

Answered
Anyone who can help a Matlab program that perform the following matrix problem
Hi Keyre this is John BG <jgb2012@sky.com> 1. Let A be your matrix, for instance m=5;n=8;A=randi([-10 10],n,m) ...

3 years ago | 0

Answered
Solving a system of 5 dependent non-linear equations
Hi Frederico this is John BG <jgb2012@sky.com> 1. Actually, command *fsolve* works pretty well here, let me explain: ...

3 years ago | 0

| accepted

Answered
Can someone break down this code and tell me what it does so I can better understand it?
Hi Westin Messer this is John BG <jgb2012@sky.com> 1. instead of all those for loops, for a 2D fft, would you consider us...

3 years ago | 1

| accepted

Answered
Frequency modulation to a digital signal
Hi Haman this is John BG <jgb2012@sky.com> 1. do you want to use the function *fmmod*? *y = fmmod(x,Fc,Fs,freqdev)* ...

3 years ago | 1

Load more