Community Profile

photo

Tiasa Ghosh


24 total contributions since 2017

Tiasa Ghosh's Badges

  • First Review
  • 3 Month Streak
  • Revival Level 1
  • Knowledgeable Level 1
  • Thankful Level 2
  • First Answer

View details...

Contributions in
View by

Question


Efficient way to use regexp and contains and matching
Hello! I am using the following code to match two cell array contents. But it takes way too long to process. Can anybody sugg...

1 year ago | 1 answer | 0

1

answer

Question


Replace with regexprep in text file
Hello everybody! I am using regexprep to replace a set of characters in a text file. For example: I am trying to replace |+|,...

1 year ago | 1 answer | 0

1

answer

Answered
how to change NaN values using ratio
if A=[778.2; 778.2; 778.3; NaN; NaN; NaN; 778.6; 778.7; 778.8; NaN; 778.8] then maybe you could search for all the ro...

1 year ago | 0

Answered
How can I add a character in between two characters in specific order in a string?
Maybe you could use iteration for all element of string array. First find the position |pos| of the number in the string with |s...

1 year ago | 0

Question


Error using str2sym (line 213)
Hello! I receive an error while running the following section: syms V I R fR L dI Ka I w str2sym('V == I*(R+fR) + L...

1 year ago | 1 answer | 1

1

answer

Answered
Having Trouble Uploading Images to Matlab
if you want to load a png or jpeg file, you need to use imread function. Refer: <https://de.mathworks.com/help/matlab/ref/imrea...

1 year ago | 0

Question


Limit of nested parentheses in MATLAB
Hello all, I just wanted to know the limit of nested brackets and parentheses in MATLAB. I have some equations with more than 20...

1 year ago | 0 answers | 0

0

answers

Answered
Creating Symbolic Variable or Functions with multiple instances
You could create arrays of I,A and B like this: I = sym('I_',[1 3]); A =sym('A_',[1 3]); B =sym('B_',[1 3]); you will ...

1 year ago | 0

Answered
Any tool to backup Matlab code (.m file), everytime when there is update/modification in code .
You could include |save filename.mat| at the end your code so that it will save the changes everytime the code runs.

1 year ago | 0

Answered
Changing varibles in a Matrix to Values
I guess the answer vB is still a symbolic expression is due to the fact that you have assigned numerical values to r,E,G,b and s...

1 year ago | 0

Question


Variable input argument for symbolic equations
Hello! I have a set of symbolic equations with a function receiving variable number of inputs in each equation. Is there a way t...

1 year ago | 1 answer | 0

1

answer

Answered
Can I add a new license to any version of MATLAB?
Hello! Although I am no expert, I can tell from my own experience. Everytime you I have uninstalled and reinstalled MATLAB on sa...

1 year ago | 0

Answered
could anyone help me to solve the issue
Without any loop, this should work: a=1:12 a(1:2:end)

1 year ago | 0

Answered
could anyone help me to solve the issue
One can check whether the index number is odd or even with if mod(i,2)==1 % do something end

1 year ago | 0

Answered
this programme in matlab 2017b but icant run it
For using Integral (), you must describe 'p' as a function handle with the '@' notation.Like this: p = @(x) sqrt(2*(E-poten...

1 year ago | 0

| accepted

Answered
Error using sym>convertChar (line 1448)
You have used the function subs() for substitution in your function TurnEqIntoDEq . The input to subs (L47 in your code file) is...

1 year ago | 1

| accepted

Question


Find index of pattern match
Hello! I am trying to find index position of a pattern from a string array in a string. for example: string='Mary had a li...

1 year ago | 2 answers | 0

2

answers

Question


MATLAB function faces issue when running it with large number of variables in workspace
Hello! I am using symbolic toolbox for computation. At the time of execution of the MATLAB script, the workspace is heavily load...

1 year ago | 0 answers | 0

0

answers

Answered
Removing a specific number from vector
You can also use setdiff function. a=4; z=[1 9 2 3 4 5]; setdiff(z,a)

1 year ago | 0

Question


replace multiple characters in a string with different characters
Hello! I am trying to replace multiple characters in a string using only one line of command. I am aware I can use regexprep to...

1 year ago | 3 answers | 0

3

answers

Question


How to replace different variables with a single variable in a text file?
Hello everybody! I am not so used to editing and working with .txt files in MATLAB. I am looking for ways to replace multiple s...

1 year ago | 1 answer | 0

1

answer

Question


Read equations from a text file and create a cell array in MATLAB
Hello everybody! I have a text file with 8000 equations and I want to create a cell array of 8000x1 for the equations as string...

1 year ago | 2 answers | 0

2

answers

Question


Interpolation of data from set of curves
I have a set of datas in a MATLAB file for Cp-Lamba curves at different pitches. I am able to plot a 3D image from the data. How...

2 years ago | 1 answer | 0

1

answer

Question


Hello! Is it possible to solve a system of differential equations in matlab without using symbolic functions?
I am a novice in MATLAB and trying to solve a system of differential equations which is somewhat similar to this : dx/dt=x+2y+1...

2 years ago | 1 answer | 0

1

answer