John BG
Followers: 0 Following: 0
MIET 36486065 MEng Telecommunication Systems UPC ETSETB Barcelona
Feeds
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 years 前 | 0
| 已接受
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...
6 years 前 | 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...
6 years 前 | 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...
6 years 前 | 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...
6 years 前 | 4
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...
6 years 前 | 0
| 已接受
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...
6 years 前 | 1
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...
6 years 前 | 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...
6 years 前 | 0
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...
6 years 前 | 5
| 已接受
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...
6 years 前 | 0
| 已接受
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=...
6 years 前 | 1
| 已接受
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 ...
6 years 前 | 1
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...
6 years 前 | 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...
6 years 前 | 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=...
6 years 前 | 1
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...
6 years 前 | 1
| 已接受
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...
6 years 前 | 1
| 已接受
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...
6 years 前 | 0
| 已接受
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...
6 years 前 | 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=...
6 years 前 | 4
| 已接受
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)...
6 years 前 | 1
| 已接受
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...
6 years 前 | 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 ...
6 years 前 | 0
| 已接受
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...
6 years 前 | 2
| 已接受
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...
6 years 前 | 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) ...
6 years 前 | 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: ...
6 years 前 | 0
| 已接受
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...
6 years 前 | 1
| 已接受
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)* ...
6 years 前 | 1