photo

AndresVar


Last seen: 2 meses hace Con actividad desde 2020

Followers: 0   Following: 0

Programming Languages:
Python, C, MATLAB
Spoken Languages:
English, Spanish

Estadística

All
MATLAB Answers

1 Pregunta
54 Respuestas

Cody

0 Problemas
14 Soluciones

CLASIFICACIÓN
527
of 300.744

REPUTACIÓN
149

CONTRIBUCIONES
1 Pregunta
54 Respuestas

ACEPTACIÓN DE RESPUESTAS
100.0%

VOTOS RECIBIDOS
19

CLASIFICACIÓN
 of 21.054

REPUTACIÓN
N/A

EVALUACIÓN MEDIA
0.00

CONTRIBUCIONES
0 Archivos

DESCARGAS
0

ALL TIME DESCARGAS
0

CLASIFICACIÓN
25.855
of 170.597

CONTRIBUCIONES
0 Problemas
14 Soluciones

PUNTUACIÓN
210

NÚMERO DE INSIGNIAS
2

CONTRIBUCIONES
0 Publicaciones

CONTRIBUCIONES
0 Público Canales

EVALUACIÓN MEDIA

CONTRIBUCIONES
0 Temas destacados

MEDIA DE ME GUSTA

  • Community Group Solver
  • 3 Month Streak
  • Knowledgeable Level 4
  • Revival Level 1
  • First Answer
  • Thankful Level 1
  • Solver

Ver insignias

Feeds

Ver por

Respondida
Backtrack iteration for loop
i think matlab for loop doesn't allow changing the iterator, you can use while loop instead.

más de 3 años hace | 1

| aceptada

Respondida
how to know 'y' values of points when we only know 'x' values?
yes a perpendicular line has a negative inverse slope so if red lines has slope m1=(dy/dx)_red, then the black line has slope...

más de 3 años hace | 0

Respondida
How to keep Matlab from messing up the formating in my excel file?
You can writetable and then fix the column width with an actxserver fullFilename = fullfile(pwd,'mysheet.xlsx'); % or whatever ...

más de 3 años hace | 1

| aceptada

Respondida
Only abnormally large outlier values are removed, not small ones
your data has zeros that make the mean closer to the small peak. you should ignore the zeros, maybe you can throw them away OR ...

más de 3 años hace | 0

Respondida
How to integrate the area below the peak when I dont have function of the peak?
Use conditional indexing to define the limits of extent for the peak. clear load("AR_data.mat") % remove nan values (why is...

más de 3 años hace | 1

| aceptada

Respondida
How to properly color a surface in two different colours using surf function?
How about just 1 surface but you tweak the colormap x = linspace(-0.5, 0.5, 21); [X, Y] = meshgrid(x, x); Z = -2 * (cos(2*pi*...

más de 3 años hace | 1

| aceptada

Respondida
Importing table from text file and matching header to column
I tried the import tool: Import data from file - MATLAB (mathworks.com) The code it generated for your data did not look as pre...

más de 3 años hace | 2

| aceptada

Respondida
A rounding problem that falls under ceil and round
How about x=[0 20 50 100 101 900 901 1234]; % test numbers y = ceil(x/100)*100

más de 3 años hace | 0

| aceptada

Respondida
translating each image column a distance according to the fitted curve
You can try circshift to shift the column vectors. But the result is not so good (i think), for example the length of the object...

más de 3 años hace | 0

Respondida
Can someone help me to remove small region area with regionprops?
try bwareaopen: Remove small objects from binary image - MATLAB bwareaopen (mathworks.com) There is an example in the documenta...

casi 4 años hace | 0

| aceptada

Respondida
Performing the transform on the below logic
Make a grid, evaluate the function and use fft2 to get the spatial spectrum. Here is an example, note function might be differe...

casi 4 años hace | 0

| aceptada

Respondida
Fitting multiple data sets to single curve in least square sense
x1,x2,x3 are column vectors that you combined into a matrix, so then y was evaluated to a matrix also. nlinfit expects vectors ...

casi 4 años hace | 0

Respondida
Vectorizing for loop for faster processing
You defined bin edges so you can try discretize: Group data into bins or categories - MATLAB discretize (mathworks.com) idx=1:1...

casi 4 años hace | 0

| aceptada

Respondida
concatenate structures inside structures
since each frame has different sized structure array maybe you can use a cell for each frame clear; % example positions for ...

casi 4 años hace | 1

Respondida
overlap ylabel with values axis
many ways to modify the label position: modify position property, if in latex add \quad, etc the easy way is to control the hor...

casi 4 años hace | 0

Respondida
Create a patch which includes all the histogram profiles
If you can use uniform bin edges for all series then it can be simplified Here it is plotting white over the another color. You...

casi 4 años hace | 0

| aceptada

Respondida
How to save each row as image in MATLAB
Edit: use rescale the entire dataset instead of each row. Edit: note in the example I put padding on the data to shape it into ...

casi 4 años hace | 0

| aceptada

Respondida
Finding data on specific point from large set data
Import data (e.g. right click file -> Import data... -> generate code) Use scattered interpolant: Interpolating Scattered Data...

casi 4 años hace | 1

| aceptada

Respondida
Subscript indices must either be real positive integers or logicals.
In matlab arrays are indexed starting at 1 so S_x(0) is an error. You can use another array to store the 'range' values rang...

casi 4 años hace | 1

Respondida
How to draw a letter T ? the background is black and the letter itself white
The current white block A(100:200,100:200) goes from column 100 to 200, so if you just make it longer 100:400 you will get a whi...

casi 4 años hace | 1

Respondida
Decide values of row in matrix for certain row intervals
since you are just changing the first number, use res(a:b,1)=1

casi 4 años hace | 0

Respondida
Can someone help me with this integration
you can do it without symbolic variables clear theta_s_vec = 0:0.1:pi/2; for ii = 1:numel(theta_s_vec) theta_s = theta_s...

casi 4 años hace | 1

Respondida
Multiple line with different variable in a plot
Here is an example. Loop for each B but use pi_o as a vector in your calculations. clear; pi_o = 2:2:30; B=[3 5 8]; figure...

casi 4 años hace | 0

| aceptada

Respondida
How to create ROI then know the total pixel number in ROI
You can use drawcircle to create a circular roi and then make a mask form it. Then you can sum or find the number of non-zero el...

casi 4 años hace | 0

| aceptada

Respondida
How can I map a specific location in MATLAB using the drone images with corresponding gps data latitude and longitude?
You can use geoplot: Plot line in geographic coordinates - MATLAB geoplot (mathworks.com) Also: Create Maps Using Latitude and ...

casi 4 años hace | 1

Respondida
Projectile Motion Equation with inputs of degree and first velocity
Here is an example Note you don't have to loop for each time value because matlab can perform calculations on the vector Note:...

casi 4 años hace | 0

Respondida
How to apply masks created by roipoly to movie?
You can store the roipoly result in a cell array like this rois = cell(1,4) for ii = 1:4 rois{ii} = roipoly(I); end Wou...

casi 4 años hace | 0

Respondida
Solving Integrations with Simpson's Rule
You need to declare Q as a function handle or use subs. syms r r0=3; Q = 4*pi*r*(1-r/r0)^(1/6); subs(Q,'r',0) %%% Alternati...

casi 4 años hace | 0

Respondida
Is there a way to make this code output a plot with curved lines?
There might be an issue with your f or your jacobian After the first th2, your f~0 so norm(f)~0 and there are no convergence it...

casi 4 años hace | 0

| aceptada

Cargar más