Arslan Ahmad
自 2017 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
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...
6 years 前 | 1 个回答 | 0
1
个回答提问
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...
6 years 前 | 2 个回答 | 0
2
个回答已回答
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...
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...
6 years 前 | 0
| 已接受
提问
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??
my problem is regarding how to find shortest path conditioning
6 years 前 | 2 个回答 | 0
2
个回答提问
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...
6 years 前 | 2 个回答 | 0
2
个回答提问
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.';...
6 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 2 个回答 | 0
2
个回答提问
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)
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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(...
7 years 前 | 1 个回答 | 0