search for: matlabcentral

Displaying 20 results from an estimated 29 matches for "matlabcentral".

2011 Feb 14
2
How can I slightly offset plots?
Dear R help contributers, I have several x,y scatter plots and I would like to plot them slightly offset, similar to: http://www.mathworks.com/matlabcentral/fx_files/24368/2/content/style4.jpg I've looked all over for this answer with no luck. Just a function name or previous example would probably be enough for me to figure it out. Thank-you in advance, Carly
2006 May 08
3
Non repetitive permutations/combinations of elements
...number of columns. e.g. 1s and -1s for 3 columns can be done uniquely in 2^3 ways. -1 -1 -1 -1 -1 1 -1 1 -1 -1 1 1 1 -1 -1 1 -1 1 1 1 -1 1 1 1 and for 4 columns in 2^4 ways and so on. I finally used the function combn([0 1],3) that I found at the following link http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=7147&objectType=FILE written by Jos van der Geest in Matlab which generated the above. How can I do this is R? I have looked at permn and combn in the combinat library and permutations and combinations in the gtools library and I am still confused as to how t...
2011 Mar 25
0
Bounding ellipse for any set of points
...losing ## ellipsoid (MVEE) of a set of points. In two dimensions, this is just ## the bounding ellipse (this function is limited to two dimensions). ## Adapted by Andy Lyons from Matlab code by Nima Moshtagh. ## Copyright (c) 2009, Nima Moshtagh ## [1]http://www.mathworks.com/matlabcentral/fileexchange/9542 ## [2]http://www.mathworks.com/matlabcentral/fileexchange/13844 ## [3]http://stackoverflow.com/questions/1768197/bounding-ellipse ## ## Parameters ## xy a two-column data frame containing x and y coordinates ## if NULL then...
2019 Oct 11
7
New matrix function
Hi All, I was looking for a function to find a small matrix inside a larger matrix in R similar to the one described in the following link: https://www.mathworks.com/matlabcentral/answers/194708-index-a-small-matrix-in-a-larger-matrix I couldn't find anything. The above function can be seen as a "generalisation" of the "which" function as well as the function described in the following post: https://coolbutuseless.github.io/2018/04/03/finding-a-len...
2011 Jul 21
0
Bounding ellipse for any set of points
...id (MVEE) of a set of points. In two dimensions, this is just > ## the bounding ellipse (this function is limited to two dimensions). > ## Adapted by Andy Lyons from Matlab code by Nima Moshtagh. > ## Copyright (c) 2009, Nima Moshtagh > ## [1]http://www.mathworks.com/matlabcentral/fileexchange/9542 > ## [2]http://www.mathworks.com/matlabcentral/fileexchange/13844 > ## [3]http://stackoverflow.com/questions/1768197/bounding-ellipse > ## > ## Parameters > ## xy a two-column data frame containing x and y coordinates >...
2019 Oct 11
3
New matrix function
...> wrote: > On 11/10/2019 6:44 a.m., Morgan Morgan wrote: > > Hi All, > > > > I was looking for a function to find a small matrix inside a larger > matrix > > in R similar to the one described in the following link: > > > > > https://www.mathworks.com/matlabcentral/answers/194708-index-a-small-matrix-in-a-larger-matrix > > > > I couldn't find anything. > > > > The above function can be seen as a "generalisation" of the "which" > > function as well as the function described in the following post: > >...
2009 Aug 21
2
2d color coded line plot
Hi! I'm not experienced very experienced with R and i'm looking for a way doing plots like in this example http://www.mathworks.de/matlabcentral/fx_files/23566/2/color_line3.png, which basically it is a 2d plot in which the 3rd dimension (variable) is color coded. I have only seen elsewhere that it is possible to color code dots in a scatter plot and I tried it with success although I I didn't find a way of including the color bar...
2011 Aug 26
0
Problem in calling R functions from Matlab
...(on both 64 bit and 32 bit OS) . For this I have installed StatConnector (http://rcom.univie.ac.at/download/current/statconnDCOM.latest.exe) for calling R from within Matlab (R2009a) on Windows XP platform. I have added all the files of MATLAB_RLINK folder (downloaded from http://www.mathworks.com/matlabcentral/fileexchange/5051) into the default?Matlab working path?(D:\User\MATLAB) and also added the folder MATLAB_RLINK to the matlab path C:\Program Files\MATLAB\R2009a\toolbox . It seems that Matlab is able to connect to R however I am facing a problem while trying to call R functions from within Matlab....
2007 Aug 14
1
File Exchange?
Hi, I've been using R for a number of years, and must say I really like it. This past summer, however, I started using MatLab for a course at school and found the file exchange it has ( http://www.mathworks.com/matlabcentral/fileexchange/loadCategory.do) to be extremely useful. I know that R has packages that people share, and that there's also RForge for more advanced tools... But is there anywhere where people share R scripts? For example, if I make a function that does one specific task, but I don't want to...
2011 Aug 15
2
temporal disaggregation
Dear R-users, I have an anual info of gross product and I would like to disaggregate to trimestral data. Can I import a matlab library of Quilis? ( http://www.mathworks.com/matlabcentral/fileexchange/24438-temporal-disaggregation-library ) Thanks, Sebasti?n.
2011 Aug 30
1
execute R commands from Matlab
They seem to have a workaround. I don't know whether anything better is available by now. http://www.mathworks.com/matlabcentral/newsreader/view_thread/163726 HTH, Daniel sarak wrote: > > Is it possible for anyone to upload a youtube video showing how to execute > R commands in Matlab , it's so vital for me .. > -- View this message in context: http://r.789695.n4.nabble.com/execute-R-commands-from-Matla...
2010 Jul 05
2
r code exchange site?
Does there exist a site where snippets of r code examples can be deposited, such as the one that exists for matlab? http://www.mathworks.com/matlabcentral/fileexchange/ ps I also noted from the main r site http://www.r-project.org/ when you click on the nabble link under the search link, I end up here http://e-nvf.vvvay.net/-td13672.html#a13819 which I don't think is anything to do with R as far as I can tell (but my Russian is not that hot)...
2019 Oct 11
1
New matrix function
...45 AM Morgan Morgan <morgan.emailbox at gmail.com> wrote: > > > > Hi All, > > > > I was looking for a function to find a small matrix inside a larger matrix > > in R similar to the one described in the following link: > > > > https://www.mathworks.com/matlabcentral/answers/194708-index-a-small-matrix-in-a-larger-matrix > > > > I couldn't find anything. > > > > The above function can be seen as a "generalisation" of the "which" > > function as well as the function described in the following post: > >...
2012 Jul 02
0
Fit circle with R
Dear Researchers, I wrote two function to fit a circle using noisy data. 1- the fitCircle() is derived from MATLAB code of * zhak Bucher* from the link http://www.mathworks.com/matlabcentral/fileexchange/5557-circle-fit/content/circfit.m 2- the CircleFitByPratt() from MATLAB code of *Nikolai Chernov *from the link http://www.mathworks.com/matlabcentral/fileexchange/22643-circle-fit-pratt-method/content/CircleFitByPratt.m, based on: *V. Pratt, "Direct least-squares fitting of algeb...
2011 Jan 10
1
Cosinor en R
...ado) creo que existe algo que hace lo que busco: ?1. Me he extendido demasiado así que resumo: ¿hay algún paquete para cronobiología que haga un test de ritmicidad circadiana? Si no es así, ¿qué debería hacer, glm, regresión circular...? Cordialmente, Isabel Martínez ?1 http://www.mathworks.com/matlabcentral/fileexchange/20329-cosinor-analysis [[alternative HTML version deleted]]
2019 Oct 11
4
New matrix function
...; Hi All, >> > > >> > > I was looking for a function to find a small matrix inside a larger >> > matrix >> > > in R similar to the one described in the following link: >> > > >> > > >> > >> https://www.mathworks.com/matlabcentral/answers/194708-index-a-small-matrix-in-a-larger-matrix >> > > >> > > I couldn't find anything. >> > > >> > > The above function can be seen as a "generalisation" of the "which" >> > > function as well as the functio...
2011 Aug 15
3
desagregación temporal
Estimados usuarios de R: Tengo que hacer una desagregación temporal de una serie anual del producto interno bruto en trimestral. ¿Hay alguna forma de utilizar la librería en matlab de Quilis de desagregación temporal en R? La libreria se puede bajar de http://www.mathworks.com/matlabcentral/fileexchange/24438-temporal-disaggregation-library Saludos, Sebastián.
2019 Oct 11
0
New matrix function
...rgan Morgan wrote: > > > Hi All, > > > > > > I was looking for a function to find a small matrix inside a larger > > matrix > > > in R similar to the one described in the following link: > > > > > > > > > https://www.mathworks.com/matlabcentral/answers/194708-index-a-small-matrix-in-a-larger-matrix > > > > > > I couldn't find anything. > > > > > > The above function can be seen as a "generalisation" of the "which" > > > function as well as the function described in the f...
2019 Oct 11
0
New matrix function
...nip ... On Fri, Oct 11, 2019 at 3:45 AM Morgan Morgan <morgan.emailbox at gmail.com> wrote: > > Hi All, > > I was looking for a function to find a small matrix inside a larger matrix > in R similar to the one described in the following link: > > https://www.mathworks.com/matlabcentral/answers/194708-index-a-small-matrix-in-a-larger-matrix > > I couldn't find anything. > > The above function can be seen as a "generalisation" of the "which" > function as well as the function described in the following post: > > https://coolbutuseless.gi...
2008 Jun 02
0
R function for Woody Average (Average with alignment)?
Dear R users, I'm looking for a function to align multiple waveforms that contain random phase shifts. The "Woody Average" is one such method -- is there any comparable function already coded for R? Matlab code for this type of average exists [http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=12459&objectType=FILE] but I don't speak matlab. Cheers, Uri