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.

Re: Question on addressing Cell arrays
Slade" wrote in message <ni9u74$i5k$1@newscl01ah.mathworks.com>...
> Hello,
>
> I have a cell array which contains sets of numerical vectors.
>
> Example:
> cell{1}={[1,2]}
> cell{2}={[3,4],[5,6]}
> cell{3}={}
> etc. Each cell can have from 0 to N different vector arrays
>
> I want to access only the full vector arrays.
>
> Example: cell{2}(1) = [3,4] (This is what I expect)

Wrong
cell{2}(1) is equal to {[3 4]}

>> isequal(cell{2}(1),{[3 4]})

ans =

     1

>> isequal(cell{2}(1),[3 4])

ans =

     0

>>

However cell{2}{1} is equal to [3 4]

>
> But.. cell{1}(1) = 1 (Not the [1,2] I am trying to access.)
>

Wrong again
cell{1}(1) is equal to {[1 2]}

And you should not use CELL as variable name, as it's MATLAB function.

Programming is a strict discipline, no place for approximation.
Re: Read html file line by line


"Jacopo Remondina" <j.remondina@campus.unimib.it> wrote in message
news:ni95fr$on1$1@newscl01ah.mathworks.com...
> I need some help: I have a software that save its results as an html file
> (it need to include both text and pictures). I want to read this results
> that are located, let's say, at line 33 position 22 to 44. How can I do
> this? I tried with fgets but in this way I wasn't able to obtain an array
> of lines (due to different chars for each line)

% Read data
h = webread('http://www.mathworks.com');

% Split into lines
s = strsplit(h, 'n');

% Show line 5 by indexing into the cell array s using curly braces
s{5}


ans =

<title>MathWorks Makers of MATLAB and Simulink</title>

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com
SeparateAxes

Matlab function to change the visual appearance of a figure axis, by separating the axes at the origin.

teknologi informasi

data sekolah

Question on addressing Cell arrays
Hello,

     I have a cell array which contains sets of numerical vectors.

Example:
cell{1}={[1,2]}
cell{2}={[3,4],[5,6]}
cell{3}={}
etc. Each cell can have from 0 to N different vector arrays

I want to access only the full vector arrays.

Example: cell{2}(1) = [3,4] (This is what I expect)

But.. cell{1}(1) = 1 (Not the [1,2] I am trying to access.)

How can I get around this most easily?

Thank you
Clustering neural systems using generative embedding

This code was written as part of my Semester Thesis conducted at the Information Science and Engineering Group at the Department of Computer Science, ETH Zurich.
A detailed report is available on Scribd: https://www.scribd.com/doc/313995279/Clustering-neural-systems-using-generative-embedding

paretoset(allPointsMat)

Computes Pareto set for a given set of input points of arbitrary dimension

Nothing is displayed in scope block
Hello everyone,
could anyone please guide me in one problem that i am facing in implementation of simulink code using real time window target on twin rotor setup.
When i built the simulink code, it is successful building as well as connects with target but nothing is displayed in the scope block after simulation is completed. Any help would be highly appreciated. Even a simple sinusoidal source connected with scope stops displaying data on scope block in real time simulink code but it is working outside it .Any help would be highly appreciated.
I am using matlab 2007b
-thanks
Re: Classical and Bayesian Econometrics toolkit
Yeah, the webpage is no longer active since I graduated from Iowa State.
There is still a copy at the File Exchange.
http://www.mathworks.com/matlabcentral/fileexchange/32601



"Mart Reinders" wrote in message <ni97do$so3$1@newscl01ah.mathworks.com>...
> The link in this article to the toolkit seems to be no longer available on the Iowa State University server. It throws the following error:
>
> Not Found
>
> The requested URL /~hqi/homepage.html was not found on this server.
>
> Is there another location where i can find these functions?
>
> Thanks in advance
>
> "Hang Qian" wrote in message <ivr5sq$7bl$1@newscl01ah.mathworks.com>...
> > Recently I packed up about a hundred MATLAB routines related to econometrics and statistics, which are written mostly in my spare time in the past years. Most of these MATLAB functions / scripts are supplied with a graphic user interface. The toolkit covers a variety of topics which I dabbled in. I would like to share these codes with everyone. They are available at www.public.iastate.edu/~hqi/toolkit.html
> > The server is at Iowa State University. Here is a list of the packages:
> > -------------------------------------
> > Bayesian Econometrics Tools
> > -------------------------------------
> > * Bayesian Linear Regression
> > * Bayesian Regression with flexible disturbance specifications
> > * Bayesian Regime Switch Regression
> > * Bayesian Regression with Restricted Parameters
> > * Bayesian Seemingly Unrelated Regression (SUR)
> > * Bayesian Vector AutoRegression (VAR)
> > * Bayesian Endogenous Regressors and Instruments
> > * Bayesian Probit and Logit Model
> > * Bayesian Tobit Model
> > * Bayesian Panel Data Analysis
> > * Bayesian Stochastic Search Variable Selection
> > * Bayesian Highest Posterior Density (HPD) Region
> > * Bayesian Marginal Likelihood of Linear Regression Model
> >
> > -------------------------------------
> > Microeconometrics Tools (Classical Inference)
> > -------------------------------------
> > * Ordinary Least Squares (OLS) and More
> > * Baseline Logit and Probit Model
> > * Unordered Logit Model with RUM
> > * Tobit Model of several varieties
> > * Aggregated Covariate Data Model
> > * Bootstrap Bias Correction with MIV
> >
> > -------------------------------------
> > Macroeconometrics Tools (Classical Inference)
> > -------------------------------------
> > * Generalized Method of Moments (GMM)
> > * Panel Data Analysis: Fixed and Random Effects, Two-way Fixed Effects
> > * Structural Vector Autoregression (VAR) and Cointegration
> >
> > -------------------------------------
> > Numerical Methods and Statitics tools
> > -------------------------------------
> > * Climb High (A Numerical Nonlinear Optimization Routine)
> > * Random Numbers from Common Distributions
> > * Cumulative Distribution Function (CDF) from Common Distributions
> > * Density Function from Common Distributions
> > * Universal sampling using inverse CDF, rejection, adaptive rejection, weighed bootstrap
> > * Numerical derivatives and integration
> >
> > -------------------------------------
> > Extra Tools and Utilities
> > -------------------------------------
> > * MATLAB to R Codes Translator
> > * MATLAB to GAUSS Translator
> > * Economics Diagram Painter
> > * Class Attendance Checker
> > * Grades and Data Transformer
> >
> > -------------------------------------
> > Recently I made efforts to check the correctness of those codes before I posted them. If you would like to use them in your research or study, feel free to get a copy. If you find remaining bugs or imperfections of these codes, I appreciate if you could let me know.
> >
> > Sincerely yours,
> > Hang Qian
> > Iowa State University
Re: mulitple hypothesis tracking
On Tuesday, 15 March 2011 12:00:24 UTC+1, Sara Julie wrote:
> please anyone send me sample mht(multiple hypothesis tracking) code.
>
> Thank you

Hello,

If you found it. Can you please forward me? email: vishnureddy220@gmail.com
Post Selected Items to:

Showing 10 items of about 1000

home  •   advertising  •   terms of service  •   privacy  •   about us  •   contact us  •   press release design by Popshop •   Official PR partner PRNews.io •   © 1999-2016 NewsKnowledge