Community Profile

photo

Ameer Hamza


Last seen: Today

Hong Kong Polytechnic University

2,587 2016 이후 총 참여 횟수

담당자

Ameer Hamza's 배지

  • Scavenger Finisher
  • Ace
  • 3 Month Streak
  • Thankful Level 2
  • CUP Challenge Master
  • Promoter
  • Commenter
  • Explorer
  • Personal Best Downloads Level 2
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 1
  • First Submission
  • Knowledgeable Level 4
  • Revival Level 3

모두 보기

참여 게시물
보기 기준

답변 있음
Matlab solver results in empty sym: 0-by-1
solve() is used to find an analytical solution. The result shows that an analytical solution might not exist for your equation. ...

약 2시간 전 | 0

답변 있음
Index exceeds the number of array elements error
Change the i = i + i; to i = i + 1;

약 5시간 전 | 0

답변 있음
Test data in ann
See perform function(): https://www.mathworks.com/help/releases/R2020a/deeplearning/ref/perform.html If you want to calculate ...

약 5시간 전 | 0

답변 있음
Solving nonlinear equations using Matlab
See lsqcurvefit(): https://www.mathworks.com/help/releases/R2020a/optim/ug/lsqcurvefit.html from optimization toolbox or fit(): ...

약 17시간 전 | 0

답변 있음
Matlab integral not giving right result as trapz function
Try this integral(dy_fun,0,1) trapz(dy_fun(x).*dx) % <== multiply the function value with dx

약 18시간 전 | 0

| 수락됨

답변 있음
Deleting the same value in a 98x3 matrix
M(~any(M, 2), :) = []; % M is the matrix given in the question

약 19시간 전 | 0

| 수락됨

답변 있음
Pattern search and string indexing
Something like this A = {[2 4 1],[3 5],[2 1]}; % you can put indexes as numbers B = {2465,2514,147,236,58}; A_new = cellfun...

약 19시간 전 | 0

| 수락됨

답변 있음
Modelling of steam flow control valve?
You can use the MATLAB function block: https://www.mathworks.com/help/simulink/ug/creating-an-example-model-that-uses-a-matlab-f...

약 20시간 전 | 0

| 수락됨

답변 있음
Colorbar not supported in Simulink "MATLAB function" surf plot
Add this line coder.extrinsic('colorbar') in the MATLAB function block before the colorbar line.

약 20시간 전 | 0

| 수락됨

답변 있음
How to make a legend print proper numbers
Try this legend(num2str(r','r = %5.2f'),'location','northwest'); % cellstr is not required %d is used for integer values. You ...

약 21시간 전 | 0

| 수락됨

답변 있음
Store all matrices of "for" loop to a file
Try this A =[ 0 2 6 4 5 2 1 2 0 0 0 0 0 1 0 0 2 1 0 ...

약 21시간 전 | 1

| 수락됨

답변 있음
how can i delete a quiver3 object
Call the function with 3 output arguments to get the handle of the quiver objects. [frame0Vq1,frame0Vq2,frame0Vq3]=ReferenceSys...

약 21시간 전 | 0

| 수락됨

답변 있음
I want to add
Based on your comment on other question for expression of ea(t): https://www.mathworks.com/matlabcentral/answers/541922-please-t...

약 23시간 전 | 0

| 수락됨

답변 있음
Please tell me how?
Following is one way of using ode45 to solve this [t, y] = ode45(@odeFun, [0 1], [0; 0]); plot(t, y(:,1), 'o-') function dy...

약 23시간 전 | 1

| 수락됨

답변 있음
To solve a second order differential equation with initial conditions using matrix method
Try the following code using ode45 (a numerical solver). Also, see this example from the documentation: https://www.mathworks.co...

1일 전 | 1

답변 있음
Creating a conditional variable or function such that
Try this schoolID = [1001 1001 1005 1005 1018 1018 1018]; enrollment = [22 22 29 29 22 22 22]; grps = findgroups(schoolID)...

2일 전 | 1

| 수락됨

답변 있음
Is matlab function distance is broken ?
You need mapping toolbox to use this function: https://www.mathworks.com/products/mapping.html

2일 전 | 0

| 수락됨

답변 있음
How to know results
Your current code does not solve the problem, as you described. You need to use for-loop a=2, c=1, d=2 , g=0.5, k=2 , f=2 e=[...

3일 전 | 0

| 수락됨

답변 있음
load txt file in matrix into matlab
As Madhan mentioned that you might want to load it as symbolic, you may try str = fileread('test.txt'); words = regexp(str, '\...

3일 전 | 0

답변 있음
Problem with definite Integral
If you check at the expression of 'f', you can see it also has 't'. So even if you try to numerically integrate it w.r.t. 'r' an...

3일 전 | 0

| 수락됨

답변 있음
even distribution in Matlab
y = rescale(rand(1, 1000), 800, 1200)

3일 전 | 1

| 수락됨

답변 있음
How can I update gauge value display during a function?
Use drawnow for i=1:100 app.Gage.Value=i; drawnow % code

3일 전 | 0

답변 있음
Problem with playing audio file from App Designer
I think you have named your own app "audioplayer". You can check it using which audioplayer If it shows the path your .mlapp f...

3일 전 | 0

| 수락됨

답변 있음
How to bypass empty fields in structure when loading data?
Use isstruct(): https://www.mathworks.com/help/releases/R2020a/matlab/ref/isstruct.html. For example, use the following if condi...

3일 전 | 0

답변 있음
How to publish symbolic matrices in latex format in MATLAB?
You may try Live scripts. It renders the symbolic matrices in mathematical notation and allows you to get latex code directly. F...

3일 전 | 0

답변 있음
Share function output within callback with another callback in App Designer
You can do so using properties. Switch to code view, and on the toolbar, click the "Property" button to add a new property to yo...

3일 전 | 1

| 수락됨

답변 있음
How to plot 3 different data in contour or pcolor ?
p = pcolor(dt, nw_bin, sizdist) shading interp xlabel('x'); ylabel('y'); colorbar

3일 전 | 1

| 수락됨

답변 있음
How to extract data from simulink to work space in matlab?
Try "To workspace" block: https://www.mathworks.com/help/releases/R2020a/simulink/slref/toworkspace.html

4일 전 | 0

답변 있음
How to fit the data with 2 term power law function?
taking log() of the equation make it very easy to find the parameter (because the equation is linear in term of a and b). Try th...

4일 전 | 0

| 수락됨

답변 있음
How can I make variable value instead of constant one?
You need to use element-wise operators a = 1.27; b = 0.19 ; c = 0.44 ; d = 0.2 ; e = 300 ; f = 5*10^21 ; g = 2*10^23 ; h = 1.2 ...

4일 전 | 0

| 수락됨

Load more