Community Profile

photo

Asmit Singh


Last seen: plus de 2 ans il y a Actif depuis 2021

Followers: 0   Following: 0

Statistiques

All
  • Solver
  • Knowledgeable Level 2
  • First Answer

Afficher les badges

Feeds

Afficher par

A répondu
How to execute a function when stored in a variable
I hope eval, feval documentaion migh come handy. Did not exactly get the question.

presque 3 ans il y a | 0

A répondu
How to draw the tangent line on a curve
This answer might be useful.

presque 3 ans il y a | 1

A répondu
Average matrix values across diagonal
Hey, I think this is what you require. This basically takes a mean over the diagonally opposite numbers, to create a symmetrical...

presque 3 ans il y a | 0

A répondu
Storing calculated values from a for-loop and plotting.
Hey You can refer to the plotting documentation. Considering you needed a z vs r graph, heres the code and the plot. Hope this h...

presque 3 ans il y a | 0

| A accepté

A répondu
X^n calculation
%Number is the base number number = 5; ans = 1; % n is the power to which the number needs to be raised n = 3; while(n~=0...

presque 3 ans il y a | 0

A répondu
Finding Digits of a Number
This code basically keeps dividing the number by 10, and uses the remainder as the digit, while the quotient as the new number. ...

presque 3 ans il y a | 0

A résolu


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

presque 3 ans il y a

A répondu
Array creation with condition from another array
You can do this by mapping 2 consecutive indices to one index, ie. {1, 2} to 1, {3,4} to 2 and so on.. The following code should...

presque 3 ans il y a | 1

| A accepté

A répondu
how to find index of the double
In my understanding you are trying to find an index of a particular value in double. You can use the find function. You can know...

presque 3 ans il y a | 0

A répondu
sinh(ax) plot
You can look at the plotting documentation to know more. Heres a simple example. x = 0:pi/100:2*pi; % a = 2 y = sinh(2*x); ...

presque 3 ans il y a | 0

A répondu
Make several tables from one table
You can extract rows from a table uising row indexing. You can have a look at the "Index Using Numeric Indices" section in the d...

presque 3 ans il y a | 1

A répondu
The find function does not find the attribute element and outputs an empty row vector. What's the reason?
To find a noninteger value using the find function, it is recommended to use a tolerance value based on your data. Otherwise, th...

presque 3 ans il y a | 0

| A accepté

A répondu
How to convert Simulink model to MATLAB script ?
In my understanding, you are trying to edit and run your simulink model programatically from matlab. The following documentation...

presque 3 ans il y a | 0

A répondu
Plotting the same signal with a different scanning
If I understood correctly, you are trying to plot 2 signals in a single graph. This documentation should be helpful. You can plo...

presque 3 ans il y a | 0

A répondu
How do I convert this string to a date ?
Since you are trying to convert strings to date with literals like 'T' and 'Z', you may want to look at the "Date and Time from ...

presque 3 ans il y a | 2

A répondu
My piecewise function graph is not showing
It is my understanding that you need to visualize the function you have provided as text, ie The code that you have provi...

presque 3 ans il y a | 0

| A accepté