Community Profile

photo

S H


Last seen: 1 year ago Active since 2015

Statistics

  • Explorer
  • Thankful Level 3

View badges

Content Feed

View by

Answered
Replacing table cell elements based on values of other table elements
Here is the example: Table.Type(1) is 'abc'. Its corresponding Table.node(1) is '3 0'. I want to renumber this based on the pin...

4 years ago | 0

Question


wrong rational numbers generated by Matlab
Example: 23/52 ans = 0.4423 rats(0.4423) ans = ' 1100/2487 ' The correct answer is 23/52 and not 1100/2487 generated b...

4 years ago | 1 answer | 0

1

answer

Question


How to convert D(floor) results into meaningful numbers?
The following results come from iLaplace of exponential functions applied to a system. Is there any way to convert them into mea...

4 years ago | 1 answer | 0

1

answer

Question


iLaplace of simple functions that include exponential and polynomial terms
Here is the laplace transfer function of a square waveform applied to a very simple LC filter. syms s t time=0:4e-9:8e-7; sig...

4 years ago | 1 answer | 0

1

answer

Question


Replacing table cell elements based on values of other table elements
There is a call-array table such as: type node rank ____ ________ ____ 'abc' '3 0' ',' 'acd' '...

4 years ago | 1 answer | 0

1

answer

Question


loading and accessing functions from computer memory
Is it possible to load a set of functions directly to the computer memory and call them instead of reading these functions from ...

5 years ago | 1 answer | 0

1

answer

Question


how to generate a string from the function content besides running it
Could you help me by adding some scripts to any function that will create a string from the function contents besides running th...

5 years ago | 0 answers | 0

0

answers

Question


Can you verify if the 'maxHeight' and 'maxWidth' options of the publish command work at all?
Can you verify if the 'maxHeight' and 'maxWidth' options of the publish command work at all? I am creating a report in doc form...

5 years ago | 0 answers | 0

0

answers

Question


How to save results with greek letters for importing into publish command
showing data with greek letters in Matlab command window interface has no problem. The following code is an example: fprintf(['...

5 years ago | 1 answer | 0

1

answer

Question


complex string match with regexprep
What should be the expression in the following script to generate out from str? str='diff([v0(k-1,2)-v0(k-1,1) v(2)-v(1)])/diff...

5 years ago | 1 answer | 0

1

answer

Question


automating global definition inside multiple functions
A few nonlinear systems of equations are being processed by a few functions. Each function can change some or all of the variabl...

5 years ago | 1 answer | 0

1

answer

Question


solving equations initially written as strings using fsolve
Is it possible to solve the following equations that are initially written as string expressions? eqns={... 'x(1)+x(2)+x(3...

5 years ago | 0 answers | 0

0

answers

Question


how to prevent reordering of terms by symbolic math functions
When using symbolic math, terms are reordered. For example, a+s*b is changed to a+b*s. Is there a way to prevent this? Because s...

5 years ago | 1 answer | 2

1

answer

Question


storing a cell array in table with correct delimiter
Could you help me fix the following code by applying a code to myvar in order to get the correct data shown at the end of this q...

5 years ago | 1 answer | 0

1

answer

Question


Appending a plot and moving it with the mouse cursor
A script lets a few plots to be chosen and to be dropped in the figure one-by-one using ginput. From the time each plot is chose...

5 years ago | 0 answers | 0

0

answers

Question


How to get a plot handle by ginput
Would you please tell me what should be added to the following code in order to get one of the plot handles ah, bh or ch if the ...

5 years ago | 1 answer | 0

1

answer

Question


Error: Cannot convert double value 5 to a handle
Please help me fix the following code and avoid getting "Cannot convert double value 5 to a handle" error. set(h,'userdata',[sc...

5 years ago | 1 answer | 0

1

answer

Question


Calculating Response of a system with lsim versus convolution
A square wave is applied to two high-pass and low-pass filters in the following codes. Could you explain why lsim shows differen...

5 years ago | 0 answers | 0

0

answers

Question


Another Bug in Matlab 2018b: iLaplace cannot compute a valid system
The following line of codes show that the system ys and the input xs are valid and the lsimplot shows the output response proper...

5 years ago | 1 answer | 0

1

answer

Question


slow ilapalce calculation for systems with higher polynomial orders
Is it possible to calculate the output o(t) of a system h(s) for the input x(s) faster than following codes? Why the following c...

5 years ago | 1 answer | 0

1

answer

Question


Annoying VPA Bug that Generates Wrong Data Phase or Wrong Imaginary Value in a Complex Number
Run the following script and compare the numeric data and plots to see the VPA bug. This is tested with Matlab 2018b. Any sugges...

5 years ago | 1 answer | 2

1

answer

Question


fixing discontinuity in a matrix by swapping data in some rows
Is it possible to have an automated script (using diff, abs, imag, sign, gradient or whatever) and look at rows of data1 and rea...

5 years ago | 0 answers | 0

0

answers

Question


Solving a Matrix of Independent Equations At the Same Time
Could you help me fix the syntax of the solve function in the following codes? There should be at least as many answers as the s...

5 years ago | 1 answer | 0

1

answer

Question


Converting scalar equations to Vector Equations
How to change * to .* , / to ./ and ^ to .^ in a predefined equation that cannot be rewritten from scratch due to its length. Pl...

5 years ago | 1 answer | 0

1

answer

Question


Nested Indexing in a Single Line command
Is it possible to extract different data in the following structured string using a single line command? exp={'George: A5 == BB...

5 years ago | 2 answers | 0

2

answers

Question


Checking Conditions on Multiple-Variable Functions
I have defined a few functions f1, f2, f3, f4, ... They depend on the same multiple variables x, y, z, u, v, ... Each of these v...

5 years ago | 1 answer | 0

1

answer

Question


Order of the Matlab Ode Solutions Appearing at Output?
When solving higher order differential equations using an ode solver (for example [t,y]=ode15i...), there are many outputs in y ...

5 years ago | 2 answers | 0

2

answers

Question


odeToVectorField: Unable to convert the initial value problem to an equivalent dynamical system.
Could anyone help me with following Matlab codes. Why do they generate error and how to fix them? syms t v1(t) v2(t) v3(t) e...

5 years ago | 1 answer | 0

1

answer

Question


Remove Redundant Parentheses from String Expression
String contains a long expression. Part of it is: '...+(G0*(G1-G2+G3))+((G4*(G5+G6)))-(((G7+G8))*((G9+G10+G11)))+...' The ...

8 years ago | 1 answer | 0

1

answer

Question


Finding Matching Nested Parentheses in a String
If the location of a closed or opened parenthesis is known in a string, could you share a code that finds its matching parenthes...

8 years ago | 0 answers | 0

0

answers

Load more