Question


Using sprintf to match the results of format
If I read the help for format, it tells me: format may be used to switch between different output display formats of all...

9 years ago | 3 answers | 1

3

answers

Answered
Solving system of n linear equations with (n+1) unknowns, one unknown is constant for every equation
Before you ever throw something like this at a solver, better is to understand what you have. Apply some mathematics to the prob...

9 years ago | 0

| accepted

Answered
Problem with mean function
What you are missing is this version of mean: /Applications/MATLAB_R2017a.app/toolbox/matlab/datafun/mean.m At least that ...

9 years ago | 0

| accepted

Answered
How to get 15-min average values from 10 min average values?
Note that any use of a standard interpolation tool will NOT ensure maintaining the hourly average. They simply are not designed ...

9 years ago | 0

Answered
How to find a matrix of solutions for linear system
Use an interval arithmetic tool. There are two to be found if you look on the MATLAB Central link exchange. One is free, but it ...

9 years ago | 0

Answered
How can we perform inverse quantization of a quantized matrix?
You cannot do so. Once a number has been quantized, essentially truncated to a shorter number of decimal places, you can NEVER r...

9 years ago | 0

Answered
Solve an equation with two variables
Are the variables Eft and Efb defined as symbolic variables, before you did this? (No) So first, start by defining them. ...

9 years ago | 0

Answered
How to reverse logical indexing?
You cannot, based on only what remains after the operation. You threw away information. It is now gone. Therefore the result is ...

9 years ago | 0

Answered
Solving a homogenous non linear system of equations in MATLAB
I don't think that moving a constant term to the other side of an equality makes an equation system homogeneous. If you could do...

9 years ago | 1

| accepted

Answered
I want to find root upto 4 decimal places. Is this program correct ? How can I make it better ?
Do you THINK it is correct? Does it yield the correct solution? (Hint: usually not.) Is this line correct? if (f(xm)*(...

9 years ago | 0

| accepted

Answered
Matlab and parallel computing
As Jan says, you are probably wasting your time trying to use parallel processing to solve a problem that is not CPU bound, but ...

9 years ago | 0

| accepted

Answered
MATLAB with some BUGS)
This is a silly question. Not a question at all, just a rant. Sorry, but that is all. By setting the title as pure flame bait, y...

9 years ago | 3

Answered
How to generate a fcc crystal matrice?
Easy enough if all you need are the FCC nodes in an unstructured sequence. fccbase = [dec2bin(0:7) - '0';.5 .5 0;.5 .5 1;.5...

9 years ago | 2

| accepted

Answered
Relationship between variables from a number of equations
I've posted this as a different answer, because I'm taking a slightly different angle in how I look at things, and because this ...

9 years ago | 1

| accepted

Answered
Relationship between variables from a number of equations
I'm sorry, but this makes no sense at all. Reading through what you have said, you have a system of equations: fn=An*(sin(B...

9 years ago | 1

Answered
How can I build a spline interpolation from scratch using only functions available for standalone code generation?
So, you can't use existing tools that do create a spline. You don't want to write a "long" semi-involved script that will wor...

9 years ago | 0

| accepted

Answered
why do we need to normalize data in matlab? what is the purpose?
Not that this will help... Normalization is simply a linear transformation of your problem, usually made necessary because of...

9 years ago | 0

Answered
Plot a Polyhedron from set of arbitrary verticies without triangulation of faces
My guess is Andrew has a polyhedron (I assume in 3-d) such as a cube. If you try throwing this into a convex hull tool, this wil...

9 years ago | 0

Answered
how to calculate value of Vs if Qs+Qsc=0
First, I must assume that eVs is what you mean by Vs, because there is NO variable Vs in those equations. So next, assuming a...

9 years ago | 1

| accepted

Answered
finding minimum of a multivariable function in a specific domain
What is wrong with the function min? You can use it to find the minimum value in the entire matrix, as well as where it came fro...

9 years ago | 0

Answered
Audio classification- complete newbie!
When you have no idea what function might help you, learn to use lookfor. In this case, I might advise starting with lookfo...

9 years ago | 0

Answered
how would i plot this equation z = sin(r)/r with r = x^(2) + y^(2) - 8 <_ x, y _< 8
What have you tried? If nothing, then why not, as then you are just asking us to do what appears to be your homework? Hint: S...

9 years ago | 0

| accepted

Answered
Finding equations of tangent lines to a circle
WTP? When all else fails, apply Pythagoras. I'll be lazy, and just throw it into solve. P1 = [22; 20]; P2 = [31; 26]; ...

9 years ago | 2

| accepted

Answered
Cross Section of PointCloud
Ok. Given a tolerance in the form of a distance, then just compute the distance to the plane! Retain any points that lie with...

9 years ago | 0

| accepted

Answered
infinite norm in fsolve
No. You cannot choose this as an option in fsolve. While you could in theory try to hack fsolve, editing the code to make thi...

9 years ago | 0

Answered
Using matlab to compare solidworks part files without opening solidworks
Then you have no choice in the matter if you must do this entirely in MATLAB. You need to open each file into MATLAB. So this...

9 years ago | 0

| accepted

Answered
Gauss–Newton algorithm in Matlab?
Simple answer: NO. There is no Gauss-Newton scheme in MATLAB. If you want it, you need to write it. If you want to solve the opt...

9 years ago | 0

| accepted

Answered
Using voice to give commnads to a plot
There is no such capability in MATLAB. You could write it. But you will find that takes a LOT of effort to do. Worse, doing it s...

9 years ago | 0

Load more