Community Profile

photo

BOB MATHEW SYJI


Last seen: plus de 3 ans il y a Actif depuis 2020

Followers: 0   Following: 0

Contact

M Tech graduate in Power Systems

Statistiques

All
  • Knowledgeable Level 3
  • Knowledgeable Level 2
  • Revival Level 1
  • First Answer
  • CUP Challenge Master
  • Introduction to MATLAB Master
  • Community Group Solver
  • Solver

Afficher les badges

Feeds

Afficher par

A répondu
How to plot a NxM matrix all in one figure using a for loop where xscale should be log
Its XScale not xscale

plus de 3 ans il y a | 0

A répondu
create a 2-column matrix, random set of weight
To multiply each element of the matrix kg, you have to use .* instead of * I hope this code works. If not please rectify kg=[1 ...

plus de 3 ans il y a | 1

A répondu
linearly independent eigen vectors
i is the eigen vector and j is the eigen values [i j]=eig(A)

plus de 3 ans il y a | 0

A répondu
How to find a Y value of a given X?
Hope this helps. x is the input and sol is the value of v at x (in this case x=0.000625) syms v(t) x=0.000625; v(t)= 50*exp(-...

plus de 3 ans il y a | 0

A répondu
How to find a corresponding matrix value
Hope this helps. yis the required vector W=%your vector Q=%vector obtained after operations on W [v,u]=max(W') for i=1:lengt...

plus de 3 ans il y a | 0

A répondu
mixture of Benzene and Toluene
Hope this helps. The function chemist_problem(p) inputs p and gives output vector y which have values of v and l. function y =c...

plus de 3 ans il y a | 0

A répondu
vector size and dimension
Have you tried clear at the start. The clear command clears the variables in workspace.

plus de 3 ans il y a | 0

A répondu
Queries on the use of "double"
I think the first one uses syms command anywhere in the script while the second one does not. While you use syms command the ent...

plus de 3 ans il y a | 0

A répondu
Need some help solving non-linear equations
syms k alpha t1=%enter t1; t2=%enter t2; t3=%enter t3; sigma1=%enter sigma1; sigma2=%enter sigma2; sigma3=%enter sigma3; equa...

plus de 3 ans il y a | 0

A répondu
How to solve ode functions?
From question, I guess the inputs should be velocity and depth of the container. The outputs should be time taken to reach the r...

plus de 3 ans il y a | 0

| A accepté

A répondu
Finding minima using if and for loops
Hope this helps. Vector y returns the minimum values of vector A A=[12; 4; 5; 23; 63; 57; 23; 6; 34]; a=A'; d=[diff(a) 0]; c...

plus de 3 ans il y a | 0

| A accepté

A répondu
To reproduce a wave packet
Hope this helps W= linspace(0, 10.0, 500); plot(W, sin(W*2*pi) - sin(W*1.1*2*pi))

plus de 3 ans il y a | 0

| A accepté

A répondu
I am not getting a graph when I plot
Replace Kp=((Cd*Ao*b)/(vp)); as Kp=((Cd*Ao*b)./(vp));

plus de 3 ans il y a | 1

A répondu
Plotting (x,y,z) and Pressure
Hi, Hope this helps.This code visualises the data as scatter plot. %dat is your data file x = dat(:,1); ...

plus de 3 ans il y a | 0

| A accepté

A répondu
Soustraction between all line of a matrix
I hope this helps. If not, please rectify. S is your vector. A is a 6964*6964 matrix which returns the difference between other ...

plus de 3 ans il y a | 0

| A accepté

A répondu
comparing table values using isequal
Instead of TF = isequal ("M(i,2)",'f') try, TF = strcmp (M.2nd_variable,'f')

plus de 3 ans il y a | 0

A répondu
How to plot 4d data?
Hi, this code visualises the data as scatter plot. Hope this helps. %dat is your data file x = dat(:,1); ...

plus de 3 ans il y a | 0

A répondu
Matrix having one row
Consider replacing length(x) with numel(x)

plus de 3 ans il y a | 0

A répondu
How can I plot 2 vectors with different lenght and with a spacing of 3hours on the time axis?
Hope this helps. It has spacing of 3hrs from 0 to 24 hrs limit %H0=[your matrix]; H0 = mean(H004(1:120)) + mean(H004(1321:1440...

plus de 3 ans il y a | 0

| A accepté

A répondu
How do I assign different solutions from a function as different variables?
Hope this helps. syms x S = (solve(x^2==x,x))'; x1=double(S(1)); x2=double(S(2));

plus de 3 ans il y a | 1

| A accepté

A répondu
making an Xn sequence
Hope this helps. x1 and x2 are the 1st and 2nd terms of the sequence respectively. n is the nth term you want. x1=%the first nu...

plus de 3 ans il y a | 0

A répondu
solving the pendulum differential equation with a for loop
Hope this helps. The solution for the differential equation is obtained as cSol(t). The required solution is obtained as a row v...

plus de 3 ans il y a | 0

| A accepté

A répondu
How can i solve P(x,y) with 2 equations of diff
If initial conditions are given, then this code might help. clc; clear; syms a b p x y u v c P t1 t2 u=(a*x)+b; v=(-a*y)+(...

plus de 3 ans il y a | 0

| A accepté

A répondu
How do I plot yy'+2x=3; y(1)=-6 on matlab livescript?
I got the plot for the given differential equation with the given initial condition using this function "diff_eqn1" function so...

plus de 3 ans il y a | 0

A répondu
The power funciton in math function block does not correctly work.
When “signed power” is checked, it first calculates the power of absolute value of input and then multiplies it with sign of the...

plus de 3 ans il y a | 0

A répondu
how to solve multiple equations that use the same variable but different values
Hi, I have created a function find_velocity in which the input is c (In this case c=[3,10]). The output v is a 2*2 matrix in whi...

plus de 3 ans il y a | 0

A répondu
colocar resultados en x,y,z cuando es un sistema con infinitas soluciones
I think this should work. ui = [3 2 -5; -1 2 -1; -2 1 1]; b=[0;-8;-7]; uiu=[ui b]; rangoui=rank(ui); rangouiu=rank(uiu); d...

plus de 3 ans il y a | 1

A répondu
how to generate modulus of sine wave using if-else statement
I think this should work. t=linspace(0,2*pi,1000); i=sin(t); for j=1:length(i) if i(j)>=0 c(j)=i(j); else c(j)=-1*i(j); ...

plus de 3 ans il y a | 0

A répondu
Can anyone help me with the name of this block?
This is the "Rate Transition" block in HDL Coder library in Simulink.

plus de 3 ans il y a | 0

| A accepté

A répondu
How to model an equation?
I think this should work. When you give time t1 for which the velocity you want, and the depth of the container as input, the fu...

plus de 3 ans il y a | 0

| A accepté

Charger plus