Community Profile

photo

Muhammad


Last seen: etwa ein Monat vor Aktiv seit 2021

Statistics

  • Thankful Level 4

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


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

etwa ein Monat vor | 2 Antworten | 0

2

Antworten

Frage


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

2 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

2 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

2 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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 Monate vor | 0 Antworten | 0

0

Antworten

Frage


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 Monate vor | 2 Antworten | 0

2

Antworten

Frage


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 Monate vor | 0 Antworten | 0

0

Antworten

Frage


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

7 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

7 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

9 Monate vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Jahr vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Jahr vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Jahr vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Mehr laden