Community Profile

photo

VBBV


PEC

Last seen: Today 2017 이후 활성

Programming in MATLAB applied to interdisciplinary engineering fields

Statistics

All
  • MATLAB Central Treasure Hunt Finisher
  • 12 Month Streak
  • Thankful Level 3
  • Promoter
  • Solver
  • Personal Best Downloads Level 2
  • First Review
  • Knowledgeable Level 4
  • Pro
  • Revival Level 3
  • First Answer
  • 5-Star Galaxy Level 1

배지보기

Content Feed

보기 기준

답변 있음
Undefined function 'postlin' for input arguments of type 'double'.
t = -10:0.01:10; f = inline('4*hardlim(t+4)-poslin(t+4)+2*poslin(t)-poslin(t-2)-2*hardlim(t-2)', 't') subplot(2,2,1); plot(t,...

약 13시간 전 | 0

| 수락됨

답변 있음
Why isnt plot working for this code?
p = 0.002378*(1-0.0000068756*2000)^4.2561; v=100; AR = 7; q = 0.5*p*v^2; n = 1/cos(45); e = 1.78*(1-0.045*AR^0.68)-0.64; k...

약 14시간 전 | 0

답변 있음
Errorbar vertical and horizontal
x = [1 2 3 4 5 6 7 8 9 10]; y = [1 2 3 4 5 6 7 8 9 10]; err = [1 2 3 1 2 3 1 2 3 1]; errorbar (x,y,'XData',er...

약 23시간 전 | 0

답변 있음
How can I import an excel workbook's SHEET TITLE?
for kk=1:1:4 x=xlsread('Excel Title.xlsx', kk, 'A2:A11'); y=xlsread('Excel Title.xlsx', kk, 'B2:B11'); sheets = ...

약 24시간 전 | 0

답변 있음
Make a direction field for the differential equation
% The solution is unique at y(0)=1 [T, Y] = meshgrid(-2:0.2:2, -2:0.2:2); S = -T+ Y + 1./Y-T; % change this line here L = sq...

1일 전 | 0

답변 있음
Multiple curves in a single graph
O = [0,10,50,100] ; figure hold on for i = 1:length(O) S1=[]; ADD=[]; AD=linspace(0.00001,1,50); for AD1=...

1일 전 | 0

답변 있음
Why isn't my loop working?
Change the line below while fgetl(fid)~= -1 to while fid~=-1

1일 전 | 0

답변 있음
My code keeps coming up with "Index Exceeds Array Bounds" help?
n = 1; t = 0; deltat = 0.1; m = 0.44; Cd = 0.05; p = 1.29; Ra = 0.135; %Find b using the rearranged formula for circumfer...

1일 전 | 0

답변 있음
hold value of multiplication of two scalar vector
gamma = [0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1]; tao = [0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1]; for i = 1:10 for j = 1:...

2일 전 | 0

답변 있음
Specify the path of X and Y axis (MATLAB)
Use the following after plot function yticks([0:0.1:max(y)]) % where y is the y vector/s in your plot

2일 전 | 0

답변 있음
taylor series and conditional while loop
clc clear all % inputs % x0 = input('what is the startup value x(i): '); % x1 = input('what is the the value you want to pr...

2일 전 | 0

답변 있음
I want my graph to show only red line. I'm not sure why it's showing orange line as well
y = [2 3 6 8 24]; x = linspace(0,5,length(y)); stem(x,y) hold on plot(x, 2.0477*exp(.4927*x)) x_dense= 0: .1: 5; hold off ...

2일 전 | 0

답변 있음
How to insert data in taylor series?
syms x y z f = x*y^2; U=taylor(f,[x y],[6 11],'Order',2); x = input('What is your x -axis value ?'); y = input('What is your...

3일 전 | 0

답변 있음
getting multiple curves instead one single curve
ep_d=1.3641;ep_1 = 1; ep_2 = 2; ep= ep_1 +1i*ep_2; theta =-90:2:90; lambda = 1240./1.5; y = lambda./(sqrt((ep_d.*ep)./(ep_d...

3일 전 | 0

| 수락됨

답변 있음
MATLAB plot not showing.
clear all ; close all; f=@(x,y1,y2) x+y1+y2; g=@(x,y1,y2) x+1/4*y1-8+y2; %shooting method inntialization ini...

8일 전 | 0

답변 있음
Plot a function of three variable
f = @(x,y,z) x.^2+y.^2+z.^2-3*x.*y.*z ; x = linspace(-1,1) ; y = linspace(-1,1) ; z = linspace(-1,1) ; [X,Y,Z] = ndgrid(x,y,...

12일 전 | 0

답변 있음
Move colorbar location to the east in tiled layout figure
t = tiledlayout(2,3) t.Tilespacing = 'compact' Try also this

12일 전 | 0

답변 있음
Error in nexttile after adding colorbar for whole tiledlayout
f = figure; t = tiledlayout(f, 'flow'); nexttile %adding any two plots plot(1:100) nexttile plot(1:100) cb = colorbar; %ad...

12일 전 | 0

답변 있음
plot the probability distribution from Schrodinger Equation
n=1; a=1; x = linspace(0,0.01,10); % change the number of points to 10 y = linspace(0,0.01,10); z = linspace(0,0.01,10); ...

15일 전 | 0

답변 있음
i have a problem with my plot, i am not getting any values and the system gives me an empty plot.
a = 0.5; % perhaps this i0H2 = 10^(-7); i0Zn = 10^(-5); C = 7; R = 8.314; % here ... assume some gas constant T = 298....

16일 전 | 0

답변 있음
i want to generate a pwm of variable duty cycle
A = 1;% normalized amplitude T = 0:0.1:2000; % millisec Sx = zeros(length(T),1); i = 1; while i<=length(...

16일 전 | 0

답변 있음
How to get eigenvalues with varying coefficient
t = linspace(0,5,4); x1 = (1+t)/2; x2 = (t.^2)/4 ; x4 = (1+2*t)/6; A = [x1; x2; zeros(1,length(t)); x4]; B = eig(A) Divide...

23일 전 | 0

답변 있음
Plotting 3d ODE
t_start = 0; t_end = 5000; %set suitable time range t_duration = [t_start t_end]; %create vector for time % [w(:,1), w(:,...

24일 전 | 0

답변 있음
basic plotting need help
% syms wo w Q Q=20;wo=[7596.4 8394.3];w = 10; K = H(w,wo,Q) % H = @(wo,w,Q) (wo*w)/sqrt(w*w*wo.*wo + Q^2*wo.^4 + Q^2*w^4-2...

24일 전 | 0

답변 있음
fft is not showing correct frequency or amplitude
clear all; close all; f1=1; f2=2; f3=3; f4=4; % freq of 4 signals, Hz A1=1; A2=0; A3=0; A4=0;% Amplitudes of 4 signals f_max...

24일 전 | 0

| 수락됨

답변 있음
Selecting categorical variable range to plot on bar graph
C = categorical({'A'; 'B'; 'C'; 'D'; 'E'; 'F'}); N = [5 4 2 3 4 8]; bar(C(3:end), N(3:end)) xticks(C(3:end)) xticklabels(C(3...

27일 전 | 0

| 수락됨

답변 있음
Vary the duty of PWM signal using pause
t_info(u); function t_info(u) Pass the input variable to the function call t_info

28일 전 | 0

답변 있음
plot radiation intensity of an antenna
eta=377; lamda=1; k=2*pi*lamda; I=2; L=1; r=1; theta = linspace(-180,180,50); phi = linspace(0,180,50); [Theta Phi] =...

28일 전 | 0

답변 있음
convert complex number to Integers
Try with cordicsincos function to get more closely matching outputs theta = [-pi:pi/4:pi]; y = cos(theta)+i*sin(theta); y1 = ...

28일 전 | 0

답변 있음
How can the individual samples be visable in the plot
S = linspace(0,0.5,25)

29일 전 | 0

더로드