photo

Arslan Ahmad


Con actividad desde 2017

Followers: 0   Following: 0

Estadística

  • Thankful Level 2
  • Thankful Level 1

Ver insignias

Feeds

Ver por

Pregunta


Binary tree using structured arrays???Plz help
I am trying to make a binary tree of a given array=[0 7 4 3 9 6]; using structured arrays and plot using cellplot and find its d...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Binary to floating point representation using IEEE-754
I am given a Character array of length 32 made of only zeros and ones and i want to convert in floating point representation usi...

más de 6 años hace | 2 respuestas | 0

2

respuestas

Respondida
hi everyone i have a 9x9 chess board I am given an initial position and final position of knight. can anyone plz help me to find minimum no of moves to reach final position??
I did it myself easy way using structured arrays with the help from another code. function [turns] = myKnightTo(board_d...

más de 6 años hace | 0

| aceptada

2

respuestas

Pregunta


Hi i have made a separable differential equation now i want to put values of t at instant, equations are made but i down know how to put value
syms A(t) C(t) k k=4; ode1=diff(A,t)==-k*A ode2=diff(C,t)==k*A odes=[ode1;ode2] S=dsolve(od...

más de 6 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Hi i want to display two strings in one function but G is showing but M is not i dont know what the problem is kindly help me??
function [G,M]=myGreeting(name, major, year) frmtspc1='Hi, my name is %s and my major is %s.\nI started at Cal in %d.';...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


I have a code for simulation of earth sun and moon i need to incorporate mercury how would i do it please help.
function [] = SunEarthMoon(years,framerate) % Inputs: % years = Observation Time Period (years) % framera...

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


I am writing a code that will check two numbers whether they are relatively prime or not if they are it would return 1 else 00the problem is that i am getting 1 all the times. Kindly help me midfy my code.
function [r]=prime(a,b) a=input('Enter 1st number='); b=input('Enter 2nd number='); % factors for 1st num...

casi 7 años hace | 2 respuestas | 0

2

respuestas

Pregunta


I want to solve this equation and plot it but lot of errors are coming kindly help
x=0:3; y=diff((x^3)*(ln(3*x+1))^2)

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


I am stuck in a question
my code is syms y(t); ode = diff(y,t) == (1-y)*exp(-0.1*y) ysol(t) = dsolve(ode) cond = y(0) == .5; ysol(t) = ds...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


i am solving a ode
syms y(t); ode = diff(y,t) == (1-y)*exp(-0.1*y) ysol(t) = dsolve(ode) cond = y(0) == .5; ysol(...

más de 7 años hace | 1 respuesta | 0

1

respuesta