Community Profile

photo

Shalini


Active since 2012

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


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...

ongeveer 11 jaar ago | 1 answer | 0

1

answer

Question


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? ...

meer dan 11 jaar ago | 1 answer | 0

1

answer

Question


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...

bijna 12 jaar ago | 0 answers | 0

0

answers

Answered
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...

bijna 12 jaar ago | 0

Question


lsqnonlin question
Consider the following code: X(1:10304)=xlsread('qs_comp_2.xls',2,'G3822:G14125'); Y(1:10304)=xlsread('qs_comp_2.xls',...

bijna 12 jaar ago | 2 answers | 0

2

answers

Question


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...

bijna 12 jaar ago | 0 answers | 0

0

answers

Question


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...

bijna 12 jaar ago | 1 answer | 0

1

answer

Question


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...

bijna 12 jaar ago | 1 answer | 0

1

answer

Question


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...

bijna 12 jaar ago | 3 answers | 0

3

answers

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

ongeveer 12 jaar ago | 0

Question


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

ongeveer 12 jaar ago | 2 answers | 0

2

answers

Question


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

ongeveer 12 jaar ago | 1 answer | 0

1

answer

Answered
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...

ongeveer 12 jaar ago | 0

Question


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...

ongeveer 12 jaar ago | 1 answer | 0

1

answer

Question


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 ...

ongeveer 12 jaar ago | 1 answer | 0

1

answer

Question


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...

ongeveer 12 jaar ago | 2 answers | 0

2

answers

Question


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...

ongeveer 12 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 12 jaar ago | 1 answer | 0

1

answer

Question


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...

ongeveer 12 jaar ago | 1 answer | 0

1

answer

Question


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...

ongeveer 12 jaar ago | 3 answers | 0

3

answers

Answered
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...

ongeveer 12 jaar ago | 0

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

ongeveer 12 jaar ago | 0

Question


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? ...

ongeveer 12 jaar ago | 3 answers | 0

3

answers

Question


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

ongeveer 12 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 12 jaar ago | 5 answers | 0

5

answers

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

ongeveer 12 jaar ago | 0

Question


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 ...

ongeveer 12 jaar ago | 3 answers | 0

3

answers