Community Profile

photo

Muhammad


Last seen: 1 month ago Active since 2021

Statistics

  • Thankful Level 4

View badges

Content Feed

View by

Question


how to plot the gradient of a equation having specific region?
hello i have the equation f(x,y)=-5x^3+4yx+6y^3+1 the gradient with respect to x is f(x)=-15*x^3+4*y how to plot the gradi...

2 months ago | 2 answers | 0

2

answers

Question


how to remove error in the code?
this is the matlab code that in made and i am getting the errors so any one who can correct my code? tic % this is the spect...

3 months ago | 1 answer | 0

1

answer

Question


how to store every value that i get from each iteration of for loop ?
i want to store all values of an but my code has some error ,plz remove it clc clear all k=1 f=2 t=rand(1,1000) for i=1:1...

3 months ago | 1 answer | 0

1

answer

Question


how to generate random number between two numbers ?
i want to generate 100 numbers between 0 and 1 so is there is any command in matlab

3 months ago | 1 answer | 0

1

answer

Question


how to replace the specific color in the image
i want to change the specific color define by the user with the color of user choice i think for this i need some modificatio...

7 months ago | 0 answers | 0

0

answers

Question


how to change specific color define by the user to black in matlab?
it is working for red ,blue ,green but not for yellow and orange need modification but not now can any one help originalImage ...

7 months ago | 2 answers | 0

2

answers

Question


how to change specific color in image to black?
hi i am trying to make a code that change the specific user define color in image to black without changing other can any one...

7 months ago | 0 answers | 0

0

answers

Question


how to make a code that guess the color of the string variable stored ?
mywords = "sulaman is here"; ht = text(0.8,0.8,mywords,'color','b') now i want to make the code that take the guess from the u...

8 months ago | 1 answer | 0

1

answer

Question


how to create a string variable with specified color?
hello ! i have the task to create a string variable like "hello !is any one here" of specific color 'blue' how i can do it mat...

8 months ago | 1 answer | 0

1

answer

Question


how to take cube of double array?
i have double array i want to take the cube of it ,is there any matlab func to perform this? % in workspace y 3800x1 double %...

9 months ago | 1 answer | 0

1

answer

Question


how to implement the given function?
i need to know how i implement the following function in matlab , i tried alot and searched in many platform but couldnot get ...

9 months ago | 1 answer | 0

1

answer

Question


how to remove the error"braces indexing not suitable for this kind of variables"?
i have the follawing matrix watermarking code it has some error i need to remove it clc ca=input('enter the matrix') count=1...

10 months ago | 1 answer | 0

1

answer

Question


how to find the angle subtended from origin to the poles in complex plane?
clc clear all s=tf('s'); num=1; den=(s+(-65+65j))*(s-(65+65j)); sys=num/den; pzmap(sys) i want to find the angle sub...

1 year ago | 1 answer | 0

1

answer

Question


how my code get the bit modification?
this stops on 90,180,270,360 now i want certain changes to stops at 45,115,225,315 what changes are required? %load excel data ...

1 year ago | 0 answers | 0

0

answers

Question


how to title the stepplot?
how to give title of the each stepplot of transfer function? i did this and its giving error clear all %muhammad sulaman %19...

1 year ago | 1 answer | 0

1

answer

Question


how to give title of the legends?
i have the folowing code that generate step responce of every transfer function in plot i want to give the name of each legend h...

1 year ago | 1 answer | 0

1

answer

Question


code to be run in matlab grader
i need this code to be runnned in matlab grader in oder to check whether its right or not function output=myleftcheck(f,a,b,n,...

1 year ago | 1 answer | 0

1

answer

Question


how to find values are within tol of on another or not?
i have the following code that perform left sum and definate integral i have done it now i want to generate the output 1 if the...

1 year ago | 0 answers | 0

0

answers

Question


how to remove error"Conversion to logical from sym is not possible."?
i make a fuction that take anynomous fuction as input with value , the fuction perform leftsum and definate integral if ' tol'...

1 year ago | 1 answer | 0

1

answer

Question


sorting and unsorting ?
clc clear all a=magic(3) [b,ind]=sort(a,1,'descend') c(ind)=b; i sorted the matrix but i want back the orignal matix a how ...

1 year ago | 1 answer | 0

1

answer

Question


doublet responce of doublet input
doublet input of magnitude 𝛿𝑒 = 0.1 and time length Δ𝑡 = 1 s; how i can give doublet input in matlab any idea i have to get th...

1 year ago | 1 answer | 0

1

answer

Question


LTI s domian to z domain tranformation
clc clear all A=[-0.0295 0.0478 0 -9.81;-0.1777 -1.4411 120 0;0.0005 -0.033 -1.5345 0;0 0 1 0] B=[0;-12.81;-6.59;0] C=[0 0 0...

1 year ago | 1 answer | 0

1

answer

Question


s domain to complex domain?
clc clear all A=[-0.0295 0.0478 0 -9.81;-0.1777 -1.4411 120 0;0.0005 -0.033 -1.5345 0;0 0 1 0] B=[0;-12.81;-6.59;0] C=[0 0 0...

1 year ago | 1 answer | 0

1

answer

Question


steady state responce of LTI system
clc clear all A=[-0.0295 0.0478 0 -9.81;-0.1777 -1.4411 120 0;0.0005 -0.033 -1.5345 0;0 0 1 0] B=[0;-12.81;-6.59;0] C=[0 0 0...

1 year ago | 1 answer | 0

1

answer

Question


i want two responce on same plot
i want both step fuction on same plot with different colors clc clear all s=tf('s') t=(1*10^4)*s+(3*10^5) y=s^5+98*s^4+2194...

1 year ago | 1 answer | 0

1

answer

Question


how to extract data from struct?
i have a struct name 'dataset' i want to extract data from struct in the form of matrix load dataset.mat y=dataset.Mert.AOG.b...

1 year ago | 1 answer | 0

1

answer

Question


how to remove error "Reference to non-existent field "?
clc clear all clc clear all fileNames=string(1:40)'; trialss=["1","2","3"]; movess=["RShoulder","RElbow","RWrist"]; poin...

1 year ago | 0 answers | 0

0

answers

Question


how to remove the error "Dimensions of matrices being concatenated are not consistent."?
clc clear all for i6=1:length(nrotName) % infileName(i1)= snameExt,nfileName(i1),nmovName(i2),nrepName(i3),nfTime(i4),ndata...

1 year ago | 1 answer | 0

1

answer

Question


how to incorporate the dataset in the form of struct?
Error in incorporatingdataset (line 24) infileName = dataset.(nfileName(i1)).(nmovName(i2)).(nrepName(i3)).(nfTime(i4)).(nse...

1 year ago | 1 answer | 0

1

answer

Question


how to incorporating a dataset in the form of a struct into a function in a for loop
i havee written the following code and getting error fileName= {'Mert'}; nameExt= {'dataset.'}; snameExt= string(nameExt); ...

1 year ago | 1 answer | 0

1

answer

Load more