Community Profile # Shalini

Attivo dal 2012

#### Statistiche

• #### Content Feed

Visto da

Domanda

Filtering values from a curve
I have a curve x vs. y and I'm reading into Matlab through excel (xlsread). I want to filer some values off. I want to filter...

oltre 10 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Reading few lines from a text file
I have a text file and I want to read first 10 lines from that file.I tried scantext but not successful. Can anyone suggest? ...

oltre 10 anni fa | 1 risposta | 0

### 1

risposta

Domanda

lsqnonlin- how to get adjusted R square?
Whilst calling lsqnonlin as below; x=lsqnonlin(@(X0)fit_simp(X0,X,Y),StartAt,lb,ub,options); how can i obtain adjusted...

circa 11 anni fa | 0 risposte | 0

### 0

risposte

Risposto
lsqnonlin question
Why you think so? My fit_simp function (see properly above) is as below function diff = fit_simp(x,X,Y) % This fu...

circa 11 anni fa | 0

Domanda

lsqnonlin question

circa 11 anni fa | 2 risposte | 0

### 2

risposte

Domanda

Using cftool- moving avearage for smoothing
Hi, I'm trying to use cftool and smoothing my data set using moving average method. I do not have much of a theoretical ba...

circa 11 anni fa | 0 risposte | 0

### 0

risposte

Domanda

Function sort and smooth in matlab
1) Consider the function sort: You can call it with as below; B = sort(A) B = sort(A,dim) If A is a vector, do I n...

circa 11 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Curve smoothing using smooth
I have been reading doc smooth and have the following to code to carry out smoothing.However, when I run it, its just the head...

circa 11 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Curve smoothing using Matlab
I have got an experimental curve which is a bit wavy (curve has a lot of noise and hence is wavy). I want to smoothn the curv...

circa 11 anni fa | 3 risposte | 0

### 3

risposte

Risposto
lsqnonlin question
Thanks..Done the follwoing the commands functiona nd then it worked; options = optimset('MaxFunEvals',10000); x=lsqnonlin(@(...

circa 11 anni fa | 0

Domanda

lsqnonlin question
I have a function file called commands.m which gives the necessary inputs to another function file called fit_simp. lsqnonlin is...

circa 11 anni fa | 2 risposte | 0

### 2

risposte

Domanda

Optimisation toolbox error
I have the following function which I wan to use in optimisation toolbox: function diff = fit_simp_optim() % This fu...

circa 11 anni fa | 1 risposta | 0

### 1

risposta

Risposto
Problem in running lsqnonlin
Actually lasqnonlin gives me an answer. But I want to put some constraints on A,B,n above- I mean upper and lower bounds. Can...

circa 11 anni fa | 0

Domanda

Problem in running lsqnonlin
I'm new to matlab and I understand that lsqnonlin requires a function for its call. Actually, I have run the cftool through G...

circa 11 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Function Error not understood
I wrote the following function: function diff = fit_simp(x,X,Y) % This function is called by lsqnonlin. % x is a ...

circa 11 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Exporting data sets to excel
I'm doing curve fitting.Firstly I read some data-sets from excel into matlab using xlsread.Then in the curve fitting toolbox I c...

circa 11 anni fa | 2 risposte | 0

### 2

risposte

Domanda

Matlab function
I'm relatively new to Matlab I need to carry out the following task and I'm just partially done.I'd be happy if someone can h...

circa 11 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Error- simple matlab function
I have the following function; function [epsilon,sigma] = concatenatingAllDataSets(total_sets,X,Y) epsilon = reshape(X,t...

circa 11 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Writing a Matlab function for the first time
This is th first time I'm writing a Matlab function.I have written several FORTRAN programs earlier but not Matlab. Now, my p...

circa 11 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Matlab curve fitting toolbox
I'm to do some curve fitting using non linear least squares using Matlab. In my equation that I am to fit/model using my data...

circa 11 anni fa | 3 risposte | 0

### 3

risposte

Risposto
Number of functions in a function-M file
I have a function 'A' Inside the function A, there is a variable computed 'z' 'z' should be returned from another function...

oltre 11 anni fa | 0

Risposto
Variable declaration in matlab
Can you give an example of declaration (integer/real) in a simple code?

oltre 11 anni fa | 0

Domanda

Number of functions in a function-M file
Is it that there should be only one function in a function M file or there can be any number of functions in a function M file? ...

oltre 11 anni fa | 3 risposte | 0

### 3

risposte

Domanda

Syntax for loop
What is the syntax for 'for loop' in matlab?

oltre 11 anni fa | 1 risposta | 0

### 1

risposta

Domanda

Variable declaration in matlab
Is it necessary to declare a variable in matlab?

oltre 11 anni fa | 5 risposte | 0

### 5

risposte

Risposto
Writing a matlab function- get number of rows
Thanks a lot..Is it necessary to declare variable mrows in Matlab?

oltre 11 anni fa | 0

Domanda

Writing a matlab function- get number of rows
I'm new to Matlab. I'm writing a matlab function to which I have given the arguments: Params, X,Y All 3 are vectors. I ...

oltre 11 anni fa | 3 risposte | 0

risposte