Research Scholar

Question

How to extract a value from multiple .mat file and save it in a spread sheet or excel file ?

I have a folder named 'cost', inside that, there are multiple .mat files (please find the attachment). I want to extract a singl...

3 years ago | 0 answers | 0

Question

save the loop data in a if else statement

I have an if statement for ind = 1:MAX_ITER if(mod(ind, 1500) == 0) h = findobj(gca,'Type','line'); ...

3 years ago | 2 answers | 0

Question

Extracting data from a folder consisting of .mat file

I have a folder, which contains multiple .mat file. I need to extract a particular table from all the multiple .mat files inside...

3 years ago | 0 answers | 0

Question

How to extract point from a group of plot graph?

I have a folder with some .png files. Please check the attachment of the folder. How can i exrtact the coordinates of the line f...

3 years ago | 1 answer | 0

Question

How to plot .pdf graph in MATLAB?

I have a graph which is in .pdf format. I want to excat the values from the graph and use it for my code in MATLAB. How to read ...

3 years ago | 0 answers | 0

Question

Is there any open code source available for estimation of cut and fill?

I am working on the optimization problem. I am looking for any open source available for optimization of cut and fill or land le...

3 years ago | 0 answers | 0

Question

How to make a video from .png images?

How can i make video from the following images. Like the attached file, i have 50 images. How can i make them into a video. I...

3 years ago | 2 answers | 0

Question

How to read and view the .tif file in MATLAB?

How can i view the .tiff file. I am able to read the .tif file but i am not able to view it. I used the following code to view, ...

4 years ago | 1 answer | 0

Question

How to convert .mat file into text file in a specific format ?

How can i convert the .mat file into the following format of .txt file x={ ( 0.000000 0.000000 ) ( 0.500000 0.333333 ) ...

4 years ago | 1 answer | 0

Question

How does MATLAB calculate the discrepancy measure for the generated Halton sequences ?

How can i calculate the discrepancy measure for the points generated using p = haltonset(d)

4 years ago | 0 answers | 1

Question

How to calculate the area percentage of the polygons?

I have x_limit and y_limit as [69.5,70.5] and [21.2,21.8] inside which their i have plotted many polygons (the coordinates of th...

4 years ago | 3 answers | 0

Question

How to generate random points in a particular angle ?

I need to generate random points in a particular angle, i.e., in a conic shape.

4 years ago | 1 answer | 0

Question

How to save multiple plots in one folder ?

for k = 1:10 figure(k); plot(foo); temp=['fig',num2str(k),'.png']; saveas(gca,temp...

4 years ago | 1 answer | 0

Question

How to start a GUI software on a remote Linux server from windows via SSH?

I am trying to open Matlab software installed in remote Linux server from my Windows 7 PC. I am using SSH secure shell to connec...

4 years ago | 2 answers | 0

Question

How to add a study area to ant algorithm in MATLAB?

I have an ant algorithm code, where the ant finds path from one point to the other through the help of deposited pheromone. In t...

4 years ago | 0 answers | 0

Question

How to combine two arrays?

I have two arrays x = 561x1 double y = 561x1 double How can i combine it into z = 561x2 double

4 years ago | 1 answer | 0

Question

How to Unnest cell array with nested cells to a cell array?

How do I expand out an array with dimension '<82794x1 cell>' in which each cell has different dimension like; [1x12] doubl...

4 years ago | 1 answer | 1

Question

How to copy a cell array to Excel?

I have a cell array 'X' with value '82794x1 cell' Inside which their are some matrix like [1x12] double [1x18] d...

4 years ago | 1 answer | 0

Question

How to remove NAN from a cell inside a cell array?

Each cell in the cell array contains a matrix, e.g., Suppose the cell array is [8x1] cell Inside which their are so...

4 years ago | 1 answer | 0

Question

How to join two shapefiles in MATLAB ?

How can i join two shapefiles, i.e., .shp file of same place into one .shp file in MATLAB.

4 years ago | 1 answer | 0

Solved

Reverse the vector

Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

4 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

4 years 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:...

4 years ago

Question

How to convert Visual C# Source file (.cs) in matlab

I have a code which is in "Visual C# Source file (.cs)" format. How can i convert it into .m file ?

4 years ago | 0 answers | 0

Question

How to separate the field from a structure in MATLAB?

I have a structure which is attached with this file named as 'shape.mat'. The structure contains the following fields: Geometry...

4 years ago | 3 answers | 0

Question

Display USGS DTM using mapshow

[germany, R] = geotiffread('srtm_germany_dtm.tif'); germany = double(germany); figure mapshow(germany, R); I h...

4 years ago | 2 answers | 0

Question

How to Incorporate ARCGIS map in MATLAB?

I want to import a study area from ARCGIS to MATLAB. Is it possible to do that?

4 years ago | 0 answers | 0

Question

How to draw a random point on a specific line within a specific boundary.

Let the XY_BOUNDARY = [0,70,0,50}; position = [XY_BOUNDARY(2) - XY_BOUNDARY(1); XY_BOUNDARY(4) - XY_BOUNDA...

5 years ago | 0 answers | 0

Question

I want to generate a fixed percent of random points on a straight line joining two points.

I want to generate 5 percent of the randomly generated numbers in a fixed straight line equation. For example, i have two points...

5 years ago | 1 answer | 0