Answered
when i use tripleangle command in matlab it doesnot answer?
Searching the documentation found no function by this name in any MathWorks product. Are you using this textbook? If so is that...

8 years ago | 0

Answered
Modify the weight of few edges in Graph
Don't try to index individual rows of the Edges table to modify properties of the edges. [You could view individual rows of the ...

8 years ago | 0

| accepted

Answered
Problems in access on the MathWorks Account
The status page lists a past incident between 9:08 and 9:18 AM EST this morning that affected the MathWorks Store, Add-on Explor...

8 years ago | 0

Answered
Getting error Undefined function or variable 'iqf' with datafeedtoolbox
This function was introduced in release R2012b. Are you using that release or newer? If you are, check the output of the ver fu...

8 years ago | 0

Answered
Switch Case with a range of letters?
I made a couple modifications to your code. foundCapitalLetter = false; Rather than using while 1, I wanted to use something t...

8 years ago | 0

Answered
How can I find all nodes that should precede node 'Node' from the information contained in a digraph G?
So you want to know "I want to get here. Where could I have come from?" You could flip the edges and do breadth-first search or...

8 years ago | 1

Answered
Can I write the output of a 'summary' command of a 'table'-variable to a variable ?
Based on Luisa Liboni's most recent comment: Okay, I understand your use case. How do you want to send this information to your...

8 years ago | 1

Answered
Drawing a directed graph
I would recommend calling your function something other than Digraph. MATLAB is case sensitive, so that does not conflict with t...

8 years ago | 0

Answered
Numerical Logical Statement Error
Display the quantity (Us-P(ct).L). It is indeed smaller than err. Now the absolute value of (Us-P(ct).L) is not smaller than er...

8 years ago | 0

Answered
How to get Children Vertices from a Contour (Deprecated post 2014a)
Look at the ContourMatrix property. This exists in both the older graphics system and the new graphics system and includes infor...

8 years ago | 0

Answered
rng(s) takes previous seed instead of current one
This is the expected and documented behavior of rng. From the documentation: "sprev = rng(...) returns the previous settings of ...

8 years ago | 0

Answered
random vector (1,10)
Use the randi function.

8 years ago | 0

Answered
Developt matlab to website ??
If you're using release R2018a or later you could use a web app. There's also MATLAB Production Server and MATLAB Compiler SDK....

8 years ago | 0

| accepted

Answered
What do I need to change in order for the code to solve any equation written?
After thoroughly validating the text equation that your user specifies for your input call (which should use the 's' input argum...

8 years ago | 1

| accepted

Answered
For loop overwriting previous answers rather than storing?
if W < k1*d How does if behave if the condition is not a scalar (in your second case it is a vector.) Let's check the documenta...

8 years ago | 0

| accepted

Answered
Solve 2 equations(type: power) and 2 unknowns
The format function does not affect how symbolic expressions are displayed. Call double or vpa on the elements of the sol struct...

8 years ago | 0

| accepted

Answered
Creating adjacency matrices for network analysis
If these are fuel costs that you want to use to minimize expenses given that each of the industries / applications on the left s...

8 years ago | 1

| accepted

Answered
How can I resolve "Nonscalar arrays of function handles are not allowed; use cell arrays instead." for this code?
I think you want to store the result of evaluating the anonymous function alpha instead of the anonymous function itself. Also,...

8 years ago | 0

Answered
How to pix the syntax error?
It looks like you're confusing defining a function with calling a function. The input arguments you specify in a function defin...

8 years ago | 0

Answered
Histogram with values above the bars
I would not depend upon the tick locations as Luna's solution does. Use the data stored in the histogram object itself instead. ...

8 years ago | 5

| accepted

Answered
Using int64 for changing the data class
Using int64 to convert a value stored in another type converts the value into the corresponding int64 value (with saturation or ...

8 years ago | 1

Answered
Alternatives for concise representation of conditional statements
You've answered your specific question, but if you encounter similar code constructs in the future (needing to check whether som...

8 years ago | 0

| accepted

Answered
I want to convert an array to a GPUarray, but Matlab truncates automatically decimals and I don“t get enough precission
As you can see we saved 1256.71 but in the gpu Array we obtained 1.2567, we have lost the last decimal!!!, More likely than tha...

8 years ago | 0

| accepted

Answered
What algorithm does Matlab rely on to thinning the image?
Does the Algorithms section on the documentation page for the bwmorph function provide enough information?

8 years ago | 0

| accepted

Answered
How to only factorize numbers a certain number of times?
Fx = [2,2,2,2,2,3] Fy = [2,2,2,5] n = numel(Fy); Fx = [Fx(1:n-1), prod(Fx(n:end))]

8 years ago | 2

| accepted

Answered
Conways Game of Life GUI
You can embed a spy plot into an existing axes, it just takes a little extra work. >> ax = gca; >> hold on >> ax.Color = 'r';...

8 years ago | 0

Answered
Modifying inceptionv3 (pre-trained deep learning network)
I believe the network is stored in a MAT-file. Don't modify the contents of that MAT-file, as doing so could negatively impact o...

8 years ago | 0

Answered
Large Matrices for solving linear systems
I think you may find this documentation example useful.

8 years ago | 1

| accepted

Answered
I have this function in python and i need it in Matlab Could someone please help??
These seem like pretty simple functions to write. If after reading that documentation page to which I linked you're still having...

8 years ago | 0

Answered
Graph how to get every connected nodes from this specific graph
The s and t vectors in the original question double-count each edge. Since what your picture shows is an undirected graph (creat...

8 years ago | 0

Load more