Community Profile

photo

Maruti Patil


Last seen: mehr als ein Jahr vor Aktiv seit 2015

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


Matlab source code constrained Multi-objective ACO/SA.
I am looking for Matlab code for particle swarm optimization or Ant colony optimization or Simulated annealing which can handle ...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Unable to plot implicit function in MATLAB 2016a
clc;clear all;close all syms b P phi0=asin(1.5/b); f = -(2*P*1.35/(1.5^2*1.1538*10^5))+... ((pi-2*...

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to solve the below equation.
P=30;A=1.73*10^-5;R=1.35; a=1.5; P*A*R/x^2=(pi/2)-(a/x)*sqrt(1-(a/x)^2)-asin(a/x) I tried to solve but I am not getting ...

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to copy rows of a matrix to convert it into single row??
Suppose I have got A=[1 2; 3 4; 5 6; 7 8] Now I want output as B=[1 2 3 4 5 6 7 8] How to do this? Thanx

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I multiply vector elements in the following fashion???
Suppose I have A=[18 44 20 55] & B=[4 6] Now I want C=[18*4 44*4 20*6 55*6] i.e I want to multiply first element o...

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to evaluate two variable function...?
f=@(x1,x2) 2*x1^2+x2^2+2*x1*x2+x1-x2; x1=0; x2=1; X=[x1;x2]; How to evaluate function using vector X..? f(X) is no...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to seperate real and Imagenery parts from equation???
% I have the following equation syms a b p=(a+1i*b)*3.142*tan((a+1i*b)*3.142)-1i*1.23*340*sqrt((a+1i*b)^2*3.142^2+(3.1...

mehr als 8 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to separate imaginary and real parts from the equation.................Pleas help
I have the following equation(p) and I want to separate out real and imag parts syms a b p=(a+1i*b)*3.142*tan((a+1i*b)*3.1...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I want to convert my program in to a function......tried function but something is wrong....???
Here is my program. How to write its function?? Inputs and output are as indicated in program clc clear all close ...

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Could you help me please??
Suppose I have a function f=inline('x^3+2'); x1=2; x2=-2; x3=4; Fmin=min(f(x1),f(x2),f(x3)) Now I want to find ...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to do this one..??
Suppose I have three numbers 6 3 and 9 I want to assign x1=lowest number x3=highest number x2= remaining number ...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I have plotted two equations. How to get their intersection point?.......Thanks
ezplot('y-x^2+2.5*x=0'); ezplot('(x-5)^2+(y-3)^2=4'); I have plotted above two equations and I want the...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Which way is correct of defining function...I am getting two differnt surfaces if I specify same equation differently...?
f=(8.*x.^2)+(14.*y.^2)+(24.*x.*y)-(31.*y)+(25.*x) %--------1 f=(8*x^2)+(14*y^2)+(24*x*y)-(31*y)+(25*x) %---------...

mehr als 8 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


How to plot surface in matlab..???
Please find the attached equation. I tried using meshgrid

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Please help to rectify an error......(Error in while loop)
b=5; x1=0; x2=0.5; x3=1; dx=0.5; % Initial values syms x f=inline('(x^2)+(54/x)'); % Function while...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I want to write a small program...
Please help me to write program for following algorithm The algorithm for a program is as follows Inputs a=0;...

mehr als 8 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


Location of maximum number in matrix??
%Suppose I have a matrix A=[2 3 4; 5 6 7; 8 9 0]; %I want to Find the location of maximum numb...

fast 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to form a Single matrix from Multiple matrices by taking perticular element from each matrix.???
Suppose I have a loop for m=1:8; a=5+m; b=3*m; A=[a, b a*b; b, a+b, a-b; 2-a, 3+b a] end I will get 8 matrices,...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I want to create two different matrices from a single matrix.
suppose I have a column matrix u = [2.2717e-33; -5.4589e-33; 5.2283e-33; -2.4541e-32; 4.7101e-12; -8.286...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I want Seperate Matrices for different values of n . (Im new to Matlab)
suppose I have a matrix A=[1+n 3+n; 2 6+n]; and n=1:6; how to get 6 different matrices A1 A2 A3....A6??. I tried A(n...

fast 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


how to write code to find y???
I am new user to Matlab. I want to calculate the value of y for a given value of x if x=8 x=(y^2)+2 how to write code t...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort