Creating a class object with the same class name as a variable
I creat some file which is called: CLASS_Template.m and used some KEY_CLASSNAME as a key in this template. %codes of CL...

casi 4 años ago | 0

Divide y values of two graph?
what about htis? x=1:20; x2=1:5:20; y1=x.^2; y2=x2.^3-x2.^2+0.5*x2; plot(x,y1,'b-',x2,y2,'g.-') y3=i...

casi 4 años ago | 2

| accepted

Converting a 3D matrix into a 2D in the correct order.
for i=1:8 for j=1:50 a(1,i,j)=i*10000+j; end end b=a; b=reshape(b,8,50); b=b';

casi 4 años ago | 0

How to add final value of a loop part to the next one. i need to add the months answers of ii=1 to ii=12
clc; clear; XS =0; month=0; for ii = 1:12 x1 = input('week1:'); x2 = input('week2:'); x3 = input...

casi 4 años ago | 0

How can I multiply each element of a polynomial with different coefficients??
c1*exp(t)+c2*exp(-2*t)+c3*t+5*c4 if your c1 to cn are also arrays with the same dimension as t-series c1.*exp(t)+c2....

casi 4 años ago | 0

how can i find an itersection point between two function
1. you defined the variable intersectionx(end+1) and intersection(i) as array. So the plot(intersectionx,intersection...

casi 4 años ago | 1

Graph shows not all elemetns
I sugest F_1 = temps(:,5.'); must be F_1 = temps(:,5)';

casi 4 años ago | 0

My script sees the value 2 different then 2.0000 which is a problem
Look at Operator Precedence in matlab. A=2000; B=2; C=A>B;

casi 4 años ago | 0

Moving axis to origin in an isosurface plot
What you try would be worked in 2D. plot(-1:0.1:1,(-1:0.1:1).^2) axis equal xlabel('x');ylabel('y'); ax=gca ax....

casi 4 años ago | 0

| accepted