Question

Why the headerlines are not always properly detected by readtable?

Hi all, I have many .csv files to import into Matlab. Those files are automatically exported from Scopus. With most of the do...

2 years ago | 1 answer | 0

Question

How to synchronize a time-lapse video with time-histories?

Hi all, I have a time-lapse video acquired from a dashcam installed in a weather station. The weather station acquires few ti...

2 years ago | 0 answers | 0

Question

How to solve the duplicate function problem?

Hi all, I am running a script in Matlab 2017a where a my own function is run. Everything was running fine but lately, I get t...

2 years ago | 0 answers | 0

Question

Text mining with matlab of affiliation strings of a pubblication database

Hi all, I want to carry out an authorship analysis by means of complex networks. Therefore, I downloaded data from Scopus as ...

2 years ago | 0 answers | 0

Question

How to calculate the contingency table of a large dataset without memory issues?

Hi all, I am calculating a contingency table (using crosstab function) from a large array and the result will be a matrix of ...

2 years ago | 1 answer | 0

Question

How to effectively use look ahead with regexp?

Hi all, I'm doing some coding with regular expressions, but there are a couple of things I can't understand. Look at the fol...

3 years ago | 1 answer | 0

Question

How to set regexp so that it stops to the first istance?

Hi all, I need to extract the urls from the following html code and I am using regexp. a='<option value="http://www.trac...

3 years ago | 1 answer | 0

Question

Why do strfind and regexp may lead to a different result?

Hi all, I noticed that regexp and strfind may lead to different results. Here an example: regexp('Infinitely Variable Tr...

3 years ago | 2 answers | 0

Question

How to select specific urls in a webpage with regexp?

Hi all, I'm doing some webscraping from <http://www.tractordata.com/farm-tractors/tractor-brands/johndeere/johndeere-tractor...

3 years ago | 1 answer | 0

Question

Web scraping with regular expression, getting rid of html tags.

Hi all, I am doing some webscraping code and consequently, I am using regular expressions. I need to isolate the words from ...

3 years ago | 1 answer | 0

Question

view maps from maps.baidu

Hi all, Is there any way to plot a map from baidu into a figure? Thanks

4 years ago | 0 answers | 0

Question

How to plot the political geography map in Matlab

Hi all, I need to make a scatter plot overlapped to the world political geography map. I tried to use plot_google_map functi...

4 years ago | 0 answers | 0

Question

Why fscanf return strange character I do not see in notepad?

Hi all, I have several txt files that look fine in Notepad, but they are full of strange characters from fscanf and I'm wond...

4 years ago | 1 answer | 0

Question

Regular expressions: dealing with spaces

Hi all, I have different strings wich they differ from the number of spaces among words. I need to find a way to find this s...

4 years ago | 1 answer | 0

Question

Why confidence interval distributions overlap the distribution?

Hi all, I've a series of data that were scaled to a percentage of maximum which I need to compute the 20th percentile of the...

4 years ago | 1 answer | 0

Question

Find the indeces of common elements of

Hi all, I have two vectors and I need to find the index of the common elements between the two vectors, but the position of ...

5 years ago | 1 answer | 0

Question

Plotting isolines on plot_google_maps

Hi all, I have a script where I plot a gpx file on figure with the map. The map is plotted with plot_google_maps and I want ...

5 years ago | 0 answers | 0

Question

How to superimpose a line plot to a colormap created with imagesc?

Hi all, I need to write the lines necessary to get the following plot: http://s29.postimg.org/5ed1w5tfb/signalprova.jpg In...

5 years ago | 1 answer | 0

Answered

How can i split between strings that connected with under score?

one solution: x={ 'Penelope_Cruz' 'Gary_Cooper' 'Tony_Curtis' 'Jim_Carrey'}; for i=1:length(x) temp=strsplit(x...

How can i split between strings that connected with under score?

one solution: x={ 'Penelope_Cruz' 'Gary_Cooper' 'Tony_Curtis' 'Jim_Carrey'}; for i=1:length(x) temp=strsplit(x...

5 years ago | 0

| accepted

Question

problems in passing parameters to fminsearchbnd.

Hi all, I have to fit some data and I'm using fminsearchbnd. Unfortunately the solver doesn't convergence and I have discove...

5 years ago | 1 answer | 0

Question

How to get programmatically the currently active application?

Hi all, I want to develop a kind of automatic timetracking sw where every minute checks what is the currently active application...

5 years ago | 0 answers | 0

Question

Why does filtfilt provide me wrong results?

Hi all, I'm using filtfilt function to filter some signals since i would like to minimize the phase lag between the original...

5 years ago | 1 answer | 0

Question

How to re-bin histograms with wider bins?

Hi all, How may I rebin an histogram in wider bins? Here an axample: 0-1 4 1-2 5 2-3 1 3-4 4 ...

5 years ago | 2 answers | 0

Question

Bar plot with two Y-axes

Hi all, I need to plot data in a bar plot with two Y axis. Morevover the bar must be grouped, like in the following picture:...

5 years ago | 2 answers | 0

Question

How to statistically detect "trend outliers"?

Hi all, I have several data collected by experiments that show the dependency between two variables, let's say x and y. I hav...

5 years ago | 0 answers | 0

Question

How to avoid programmatically the data overlapping from legend in plots

Hi all, I programmatically plot many data as a bar plot. Unfortunately for plots where the last bar is very high legend ov...

5 years ago | 2 answers | 0

Answered

Tangent to two circles

Hi, the 3rd and 4th equations shouldn't be as the folliwing, right? p1^2-c1^2=r1^2 p2^2-c2^2=r2^2 you can use fsol...

Tangent to two circles

Hi, the 3rd and 4th equations shouldn't be as the folliwing, right? p1^2-c1^2=r1^2 p2^2-c2^2=r2^2 you can use fsol...

5 years ago | 0

Answered

How to specify tolerance using linsolve ?

It is strongly suggested to normalize your design variables, contraints and so on in order to have a similar variation of the gr...

How to specify tolerance using linsolve ?

It is strongly suggested to normalize your design variables, contraints and so on in order to have a similar variation of the gr...

5 years ago | 0

| accepted

Answered

fmincon's nonlinear equality constraints cannot be met?

Check your contranstrains with an optimization where your objective function is @(x)0 and with your real constraints. The solver...

fmincon's nonlinear equality constraints cannot be met?

Check your contranstrains with an optimization where your objective function is @(x)0 and with your real constraints. The solver...

5 years ago | 1

Answered

Insert variable name into string

Try this: inputdlg(['Please enter the name for the' Name 'xls file: '],'Excel Name');

Insert variable name into string

Try this: inputdlg(['Please enter the name for the' Name 'xls file: '],'Excel Name');

5 years ago | 0

| accepted