Community Profile

photo

waqas


Last seen: 3 Monate vor Aktiv seit 2018

Followers: 0   Following: 0

Statistiken

All
  • Explorer
  • Solver
  • Knowledgeable Level 2
  • Thankful Level 3
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How to make a rectangular shape with inner boundary having the value of 1 and outer boundary a value of 0?
Hi, I am trying to make a rectangular shape with inner boundary value set as one and outer boundary value set as zero. Ideally...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to generate Q4 element mesh in selected area?
Hi, I have a region ( variable 'nmask' in the .MAT file) on which I want to generate a Q4 mesh. In my current implementation, ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Removing values from surf?
I am plotting surf plot from the data (.mat file attached), but, there is data where Z values are zero which is ruining the plot...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
How to find what percentage of image an object covers
im = im2bw(imread('image.jpeg')); imshow(bw) whitearea = bwarea(bw); blackarea = bwarea(~bw); conversion to black and white...

etwa 3 Jahre vor | 0

Beantwortet
How to record/run the result 100 times?
May be knowing what OMEGA is would help us understanding what the code is doing. From current code, you can implement a second...

etwa 3 Jahre vor | 0

| akzeptiert

Frage


Finding crack path using image processing
I have previously asked a question of this forum (link to it) where I want to find the path of a crack using image processing. H...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Interpolating data to find the values at NaN locations in the region.
I have a field which, when I plot, results in NaN values in between the known values. I want to interpolate the values on these ...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Finding the particular path using image processing
Hi, I need to find the path from the attached displacement field attached as .MAT file. My code was working on other data set...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Indexing in fields of a struct
Hi, in the attached .MAT file, I have a struct partitionsInfo in which I want to read partitionsInfo.frames using indexing to ...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Shifting XY- coordinate system (normally known as left-hand coordinate system) from top left to conventional (right handed) coordinate system?
Hi, I want to transform my matrix origin from top left corner (showed in Red color in the plot) to bottom left corner (showed ...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Extract vector from math file
You can define the variable which you want to extract: load('ABCdepobv.mat','B'); More details on saving and loading .MAT fil...

mehr als 3 Jahre vor | 0

Beantwortet
How can I export this as a vector image?
Use export_fig function. Check the link here. I would suggest the add set(gcf,'color','w') before using export_fig functio...

mehr als 3 Jahre vor | 0

Beantwortet
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 + ...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
Is it a loop problem ?
The program can be stopped by using input to MatrixDimInput(iteration) %Modification in the function would result function ...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
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 ...

mehr als 3 Jahre vor | 0

Beantwortet
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...

mehr als 3 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 3 Jahre vor | 2

Beantwortet
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...

mehr als 3 Jahre vor | 0

| akzeptiert

Frage


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...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
regarding masking the image
First line is defining a zero matrix With mask_h rows and mask_w columns. In the second line, all the entries in first half ...

mehr als 3 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 3 Jahre vor | 0

Frage


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 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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 4 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
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 4 Jahre vor | 1

| akzeptiert

Mehr laden