Community Profile

photo

Vashist Hegde


Last seen: 2 years ago Active since 2020

Statistics

  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

Answered
I raise a decimal number to a decimal power and it gives my infinity! How may I avoid that?
Try using a "." before you use the power (^) operator whenever you operate on individual values rather than matrices.

3 years ago | 0

Answered
A for loop that allows me to increase by 2 terms of a vector
you can use the for loop this way - for i = 1 :2: size(XY,1) coord1 = XY(Edge(i,1),:); coord3 = XY(Edge(i,2),:); en...

3 years ago | 0

| accepted

Answered
How to put legend?
I am sure this will help you - https://www.mathworks.com/help/matlab/creating_plots/add-legend-to-graph.html

3 years ago | 1

| accepted

Answered
why "while loop" is not working?
To check what was going on, I wrote a small while loop on my own - This while loop is also not working. The similarity between...

3 years ago | 0

| accepted

Answered
Simulink won't open
In order to avoid any search path issue, try to execute below commands in the command window. >> restoredefaultpath >> rehas...

3 years ago | 0

Answered
Trading toolbox getdata error
To debug, put a break point at line 103 of ibtws/getdata, which can be found by using "edit". The particular line is as follows:...

3 years ago | 0

| accepted

Answered
3D paraboloid plotting help
You may find this usefull in plotting an ellipsoid- https://www.mathworks.com/help/matlab/ref/ellipsoid.html

3 years ago | 1

Answered
MATLAB internal error and crash
Hi, This is a community forum, where users solve problems related to MATLAB code or general errors. If you are having this pro...

3 years ago | 0

Answered
How to write a long equation with a long vector(s) shortly?
I think this should work just fine considering pauli_new{k} are matrices function f = @(x,pauli_new) sum = pauli_new{1}; ...

3 years ago | 0

| accepted

Answered
Calculate vowels consonants spaces numbers in a sentence
In MATLAB, indexing always starts from 1, change the indexing on line:10 to for i = 1:l

3 years ago | 1