# John BG

MIET 36486065

MEng Telecommunication Systems

UPC ETSETB Barcelona

**Statistics**

RANK**66**

of 242,820

REPUTATION**1,872**

CONTRIBUTIONS

**6** Questions

**614** Answers

ANSWER ACCEPTANCE **
50.0%
**

VOTES RECEIVED**519**

RANK**631** of 16,984

REPUTATION**N/A**

AVERAGE RATING**2.00**

CONTRIBUTIONS**47** Files

DOWNLOADS **113**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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