Community Profile

photo

SHARAD KUMAR UPADHYAY


Last seen: 19 days ago Active since 2019

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


How to plot multiplot with different range of data?
I want to plot multiplot with different range of data, like x=(0,100,100), y=x^2, and x1=(0,60,60), y1=x1^4. The range of x and ...

21 days ago | 1 answer | 0

1

answer

Question


Plot with break in curve
%% I am trying to plot using the command plot(x,y,'DisplayName','E'), by using the data as shown below: %% x y 0.00...

1 year ago | 2 answers | 0

2

answers

Question


Random range of plot?
With respect, Sir I need to plot this type of graph but I am not able to plot. I am only able to plot simple continuous data...

4 years ago | 1 answer | 0

1

answer

Question


How to plot after finding roots?
%% Sir, I have multy equation function and try to find roots and plot. functions are w=abs(ww) A=w/ab f1=aone*sgn(ww)*[sqrt(1...

4 years ago | 0 answers | 0

0

answers

Question


Size different when using dock figure,?
%% When I save figure without using dock figure then I got normal figure as in first figure, but with dock figure there is some ...

4 years ago | 0 answers | 0

0

answers

Question


how to solve undefined variable?
% I am trying to do integration with the limit x<5, as a=any const no, for eg a= 2 f=@(x) a*x^2+sin(pi*x/2) if x>5 output=0 ...

4 years ago | 1 answer | 0

1

answer

Question


Subscripted assignment between dissimilar structures?
I am using two file as i=[0:.01:1] for j=1:length(i) A=sin(i) save('test.mat','A','i'); end %%%%and this i=[...

4 years ago | 0 answers | 0

0

answers

Question


how to give legend to sublegend?
%% I wants to give legend to sublegend , as i have a program to plot between T (1*25), and output (2*25), for the values of d (1...

5 years ago | 0 answers | 0

0

answers

Question


How to plot plot from differnet location in a single figure?
%% I have differnt date from differnt folder in differnt location, as D:/pendrive/coulomb_drag/Temperature/matlab_program/drag_C...

5 years ago | 1 answer | 0

1

answer

Question


why the program take long time?
Sir I am using a program which have several .m function file. To run all those file i use this command T=linspace(0,25,2) for ...

5 years ago | 0 answers | 0

0

answers

Question


how to store variables in coloum in text file?
With respect sir, %I want to stored my output variables in .txt file in coloum wise. i am using this comaand to save save('fi...

5 years ago | 1 answer | 0

1

answer

Question


Clear all not working and blank plot found?
%% I am trying to run this type program clc clear all close all syms x output x=linspace(1,2,3) output=sin(pi*x./4) plot(...

5 years ago | 0 answers | 0

0

answers

Question


Why workspace is not generated, and blank plot?
With respect, Sir, I have a program and run in HP-Z820 workstation, I have got results in command window, with an error " Caugh...

5 years ago | 0 answers | 0

0

answers

Question


Unknown variable with str2num ?
%% Sir I am using a matlab code but I got a error here I am showing the main file only and error function sigmaDloop(sb) b=s...

5 years ago | 1 answer | 0

1

answer

Question


PC specification, which increase the calculation speed of program?
Sir, I am using matlab in my laptop with I5, PC with I7 and workstation Z820. when I run same program in all device then running...

5 years ago | 0 answers | 0

0

answers

Question


NaN output is coming why?
%% I am getting output as NaN, where I am using this type of program function F_half=F_D_I(Aplus,t) fun=@(x) (x.^(-1/2)./(exp(...

5 years ago | 0 answers | 0

0

answers

Question


less time to run how
%% i am using this and it take long time to run, F_half=integral(fun,0,inf,'ArrayValued',true,'RelTol',1e-4) %% if i use this ...

5 years ago | 1 answer | 0

1

answer

Question


why integral is not done
function output=Hplus(Q,W,a,mutilde) output=integral(@(u) sqrt(1-u.^2)./(exp(0.5.*abs(Q.*u+W)-a.*mutilde)+1),-1,1,'ArrayValued'...

5 years ago | 0 answers | 0

0

answers

Question


error in plot command while using for loops twicly
I am trying to plot as? function output=fun(Q,T,x) output=2.*Q.*T.*x end function f=fun2(Q,T,x) T=[2 5] Q=linspace(0,0.8)...

5 years ago | 0 answers | 0

0

answers

Question


variable q and y
%%i am using this fun=@(x) exp(-x)*y A=GLGD_int(fun,0,1,5) vpa(A,3) fun1= matlabFunction(A,'vars', [y]); B=GLGD_int(fun1,...

5 years ago | 1 answer | 0

1

answer

Question


Double or higher order integration by numerical method
%% For example I am using trapazoidal rule for integration as below %% function s=traorl(fun,a,b,M) h=(b-a)/M s=0 for k=1:(...

5 years ago | 1 answer | 0

1

answer

Question


Sum of series with differentaition
%% I am try to sum a series with respect to k, where function f has 2*k-1 times derivative too. As below program i am using and ...

5 years ago | 1 answer | 0

1

answer

Answered
Different variable in function
Dear sir, Answer given is very helpful for me. Another thing is, How can I do the double integration by this program? As for e...

5 years ago | 0

Question


Different variable in function
function s=traorl(fun,a,b,M) h=(b-a)/M s=0 for k=1:(M-1) x=a+k*h s=s+feval(fun,x) end s=h*(feval(fun,a)+feval(fun,b))...

5 years ago | 2 answers | 0

2

answers