Answered

Issues Creating Multiple Figures in Same Script

Wouldn't the following make more sense? position_1 = a1_sol.a0 + 0*t + a1_sol.a2*t^2 + a1_sol.a3*t^3 position_2 = a2_sol.a0 + ...

Issues Creating Multiple Figures in Same Script

Wouldn't the following make more sense? position_1 = a1_sol.a0 + 0*t + a1_sol.a2*t^2 + a1_sol.a3*t^3 position_2 = a2_sol.a0 + ...

fast 2 Jahre ago | 0

| accepted

Solved

Dimensions of a rectangle

The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

fast 2 Jahre ago

Solved

Change the sign of even index entries of the reversed vector

change the signs of the even index entries of the reversed vector example 1 vec = [4 -1 -2 9] ans = [9 2 -1 -4] example2...

fast 2 Jahre ago

Solved

Area of a circle

Given the radius x, y would be the area of a circle. Pi = 3.1416

fast 2 Jahre ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

fast 2 Jahre ago

Answered

Is it a loop problem ?

The program can be stopped by using input to MatrixDimInput(iteration) %Modification in the function would result function ...

Is it a loop problem ?

The program can be stopped by using input to MatrixDimInput(iteration) %Modification in the function would result function ...

fast 2 Jahre ago | 0

| accepted

Answered

Divide time into milliseconds when input changes

Statment is not that clear but may be this is what you want to do: i = [1,10:10:20] % assuming your signal is repeating after ...

Divide time into milliseconds when input changes

Statment is not that clear but may be this is what you want to do: i = [1,10:10:20] % assuming your signal is repeating after ...

fast 2 Jahre ago | 0

Answered

Calculating distance between two points from a matrix in 2d and 3d

This would be the implementation of your formula. But, NaN would be a problem for you since 3rd and 4th columns are NaN and woul...

Calculating distance between two points from a matrix in 2d and 3d

This would be the implementation of your formula. But, NaN would be a problem for you since 3rd and 4th columns are NaN and woul...

fast 2 Jahre ago | 1

| accepted

Answered

Smoothing 2D matrix

May be using this would work: Where A is 2D matrix and FilterSize can be changed to control smoothenig you want. imgaussfilt(A...

Smoothing 2D matrix

May be using this would work: Where A is 2D matrix and FilterSize can be changed to control smoothenig you want. imgaussfilt(A...

fast 2 Jahre ago | 0

Answered

how can i write a code with consecutive number between 0-100 and use this values inside my code?

Is this what you are looking for? x = 0.05 + (0.1-0.05).*[0:1:100]'; If you also want to control from which number (from 0:10...

how can i write a code with consecutive number between 0-100 and use this values inside my code?

Is this what you are looking for? x = 0.05 + (0.1-0.05).*[0:1:100]'; If you also want to control from which number (from 0:10...

fast 2 Jahre ago | 0

| accepted

Question

Getting meshgrid along different angles for data extraction from a matrix/image?

Hi, I have three point locations of a matrix which I want to use to get inclined meshgrid about the lines joining these point...

fast 2 Jahre ago | 1 answer | 0

Answered

How to plot 3D volume from concatenated images?

May be have a look at these links first! https://www.mathworks.com/help/matlab/volume-visualization.html, https://www.mathwork...

How to plot 3D volume from concatenated images?

May be have a look at these links first! https://www.mathworks.com/help/matlab/volume-visualization.html, https://www.mathwork...

fast 2 Jahre ago | 0

Question

Selecting specific region around the known indices of a matrix.

Hi, I have a path around which I want to select 3 points above and 3 points below to acheive something similar to the picture. ...

mehr als 2 Jahre ago | 1 answer | 0

Question

Rotating different parts of the same matrix at different angles using pol2cart and cart2pol.

Hi, I have a code where I can remove a certain region which I am not interested in but in the current configuration, I am usin...

mehr als 2 Jahre ago | 0 answers | 0

Question

Plotting pcolor plot on an image at a particular area.

Hi, I have done some analysis on a particular region of an image which I now want to plot on the over the image. Following ima...

mehr als 2 Jahre ago | 2 answers | 0

Question

How to set lower and upper bound for only one of the output variable in lsqnonlin?

Hi, In the documentation of lsqnonlin, following statement is written: x = lsqnonlin(fun,x0,lb,ub) defines a set of lower an...

mehr als 2 Jahre ago | 1 answer | 0

Question

Masking an array back to a selected region in a Matrix

Hi, I have a column vector which I need to insert back to the a matrix(Attached in .mat file). The variable region has logical...

mehr als 2 Jahre ago | 1 answer | 0

Question

Fitting the data so that one a single continuous line is achived

Hi, I have following line that I want to smooth out so that only one point will be there in one column: mat file for the d...

mehr als 2 Jahre ago | 1 answer | 0

Question

Extracting coordinates values for the line.

Hi, I want to extract the coordinates for the white points along the main line where I am getting bit of noise around with ad...

mehr als 2 Jahre ago | 1 answer | 0

Question

Optimizing coefficients of an asymptotic series using lsqnonlin.

Hi, I am trying to find the coefficients of an asymtotic series using experimental and simulation data with lsqnonlin but the ...

mehr als 2 Jahre ago | 1 answer | 0

Answered

How to apply the same function on different rows of a vector?

If I got the question right, this is how it should work: andr = randn(521,1) andrn = 1/100*andr(521:-20:1) % you can use 1/10...

How to apply the same function on different rows of a vector?

If I got the question right, this is how it should work: andr = randn(521,1) andrn = 1/100*andr(521:-20:1) % you can use 1/10...

mehr als 2 Jahre ago | 1

| accepted

Question

Selecting data within a particular shape from a matrix.

Hi, I want to select data around point [169,547] in the attached v variable. Attached is the figure of the shape in which I w...

mehr als 2 Jahre ago | 1 answer | 0

Answered

How can I get rid of this error? Please help me guys

You can use following rectangularMesh function to generate the same parameters. I hope this works for your code. function [node...

How can I get rid of this error? Please help me guys

You can use following rectangularMesh function to generate the same parameters. I hope this works for your code. function [node...

mehr als 2 Jahre ago | 1

Question

How to find the values of jump in an array?

I am trying to find the displacement jump from an array where I want to get the values at the locations highlighted in the attac...

fast 3 Jahre ago | 2 answers | 0

Question

Plotting intensities, gradients and variance of images (varying with time) on particular grid points.

Hi, I am working on a digital images series where the pixel intensity values are changing with time which I want to analyse in...

fast 3 Jahre ago | 1 answer | 0

Question

Finding unique values from arrays of different sizes

I am trying to find the unique values from 4 different arrays but the sizes are different i.e., for 2 arrays size is c1=c2= [42,...

etwa 3 Jahre ago | 1 answer | 0

Question

How to use masking filter to remove particular frequency from an image?

I have modified the code of ImageAnalyst for one the tasks that I am currently working on. Goal is to extract the QR code from t...

mehr als 3 Jahre ago | 0 answers | 0

Question

How to find specific frequency from image?

I have taken the Fourier transform of the following image (showing zoomed image to better explain my question): <</matlabcent...

mehr als 3 Jahre ago | 2 answers | 0