Community Profile

photo

S H


Last seen: oltre un anno fa Attivo dal 2015

Followers: 0   Following: 0

Statistiche

  • Explorer
  • Thankful Level 3

Visualizza badge

Feeds

Visto da

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

circa 4 anni fa | 0

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 5 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 5 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 5 anni fa | 1 risposta | 2

1

risposta

Domanda


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

circa 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 5 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 5 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 5 anni fa | 1 risposta | 2

1

risposta

Domanda


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

circa 5 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 5 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 5 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 8 anni fa | 0 risposte | 0

0

risposte

Carica altro