photo

Arslan Ahmad


Actif depuis 2017

Followers: 0   Following: 0

Statistiques

  • Thankful Level 2
  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


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...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Question


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...

plus de 6 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

2

réponses

Question


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...

plus de 6 ans il y a | 2 réponses | 0

2

réponses

Question


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.';...

plus de 6 ans il y a | 1 réponse | 0

1

réponse

Question


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...

presque 7 ans il y a | 1 réponse | 0

1

réponse

Question


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...

presque 7 ans il y a | 2 réponses | 0

2

réponses

Question


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)

plus de 7 ans il y a | 1 réponse | 0

1

réponse

Question


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...

plus de 7 ans il y a | 1 réponse | 0

1

réponse

Question


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(...

plus de 7 ans il y a | 1 réponse | 0

1

réponse