Login
Password
Sources on this Page

> Headlines by Category

 Home / Science / Mathematics

You are using the plain HTML view, switch to advanced view for a more complete experience.

Plotting
Hi! I have an array of 1x~200000 and i need to put a division each 260, how can i do this?
Using textscan with at least 2 spaces as delimiter
Hello everyone,

I have a slight problem. I'm reading a .txt file into Matlab and converting it into a Excel file. I want the textscan function to delimit the rows of the .txt file by at least 2 spaces and not just one. Could anyone help me with this?

Thanks a lot
Re: Creating a single digit array
On 10/18/14, 1:19 AM, John D'Errico wrote:

> I think you misunderstand the syntax for find. Anyway,
> the call used was clearly shown.

Sorry, I read too quickly indeed.


Christopher
Re: Matlab R2013a Crashing on OS X Yosemite
Hi,

I have MATLAB 2013a and the patch does not work for me -- the patch does not recognize my MATLAB root folder. E.g., when I select MATLAB_2013a.app, it states: "we could not find the required files in the folder you selected. Please be sure to select the root folder of your MATLAB installation."

The "alias" fix-around also does not work for me.

Any advice?

Many thanks,

Rob

"chad" wrote in message <m21v51$slq$1@newscl01ah.mathworks.com>...
> I'll echo Juan: Mathworks, please extend your solution to quickly across recent releases. A slow solution (and reliance on open-sourced solutions) is at odds with your product.
>
> "Juan Carlos Vergara" <jvergar2@eafit.edu.co> wrote in message <m20n5g$38s$1@newscl01ah.mathworks.com>...
> > The problem still exists in Matlab2013a, when are they going to fix that issue?
> >
> >
> > "Dal Rupnik" wrote in message <lnmjlo$8s7$1@newscl01ah.mathworks.com>...
> > > Hello,
> > >
> > > ever since I installed OS X Yosemite over my Mavericks, MATLAB R2013a will no longer run. I also tried reinstalling it, but always crashes on startup:
> > >
> > > java.lang.NullPointerException
> > > com.mathworks.widgets.WindowsWidgetFactory$SearchAndClearButton.anyText(WindowsWidetFactory.java:187)
> > > com.mathworks.widgets.WindowsWidgetFactory$SearchAndClearButton.getIcon(WindowsWidgetFactory.java:195)
> > > com.apple.laf.AquaButtonUI.setThemeBorder(AquaButtonUI.java:91)
> > > com.apple.laf.AquaButtonUI.installDefaults(AquaButtonUI.java:58)
> > > javax.swing.plaf.basic.BasicButtonUI.installUI(BasicButtonUI.java:71)
> > > javax.swing.JComponent.setUI(JComponent.java:670)
> > > ...
> > >
> > > Does anyone have any idea how to fix this? I need this ASAP!
> > >
> > > Best Regards!
> > >
> > > Dal
dataprocess

Because I am still a novice programmer, I have made this available for commits on GitHub: https://github.com/mattv8/dataprocess.git.
This function is useful for sifting through folders with delimited data files (.txt, .dat, etc.) and outputting a cell matrix containing a)the outputs of the processed data, b)the position of the files of interest within the data containing folder, and c)a directory listing of the data containing folder.

NOTE: Data files will be processed in their directory listing sort order (by name, date, etc.).

RelSaR

RelSaR

INTEGRANTES

ESTOS SON LOS INTEGRANTES DEL GRUPO

VOZ

UNA DE LAS VOCES

SCFT(2D)

A demo code for solving self-consistent field theory (SCFT) equations in 2D space, solving diffusion equation with fft.

Re: extrapolate
Yorum" wrote in message <m229u3$m3n$1@newscl01ah.mathworks.com>...
> NaN NaN NaN NaN NaN 123 123 NaN NaN NaN NaN NaN
> NaN NaN NaN NaN 218 546 218 546 NaN NaN NaN NaN
> NaN NaN NaN 128 545 526 128 545 526 NaN NaN NaN
> NaN NaN 568 521 851 210 568 521 851 210 NaN NaN
> NaN 565 546 546 545 120 565 546 546 545 120 NaN
> 456 458 546 212 158 542 456 458 546 212 158 542
>
> if the value looks something like this ( it has NaN valus in the four corner and it isn't in a rectangular form)
> how could I extrapolate this NaN area to get the value?
>
> [row col]= find(A>0);
> for i=1:length(row)
> Z(i)=SKY(row(i),col(i));
> end
>
> [XI, YI] = meshgrid(1:size(g,1),1:size(g,2));
> underpanel = griddata(row, col, Z, XI, YI,'natural');
>
> this was the code i used
>
> thank you
>
There are several options. Either you can use the 'v4' method that automatically extrapolate, or you could use the newer scatteredInterpolant function that gives you more choices regarding extrapolation, or you could use the gridfit function from the file exchange. Regardles be careful with the extrapolation...

HTH
Post Selected Items to:

Showing 10 items of about 1200

home  •   advertising  •   terms of service  •   privacy  •   about us  •   contact us  •   press release design by Popshop •   Official PR partner B2BLogger.com •   © 1999-2014 NewsKnowledge