Feeds
質問
Incorrect integral being returned.
getting an odd result when trying to integrate 50 - t. syms t; rate = 50- t; int(rate) it returns -(t - 50)^2/2 ...
13年弱 前 | 1 件の回答 | 0
1
回答回答済み
Getting a subfunction to return a value as a logical
Ok, silly mistake, easy fix. m = logical(m)
Getting a subfunction to return a value as a logical
Ok, silly mistake, easy fix. m = logical(m)
13年弱 前 | 0
| 採用済み
質問
Getting a subfunction to return a value as a logical
My sub-function is called from my main function as such... [m,n] = funk(a,b) I need m to return as a logical not a doubl...
13年弱 前 | 1 件の回答 | 0
1
回答質問
Issue with fscanf not reading more than 1 row
I'm trying to pull data from a file using fscanf. The data file is formatted as you see in the fscanf below, and has 20 rows. I'...
13年弱 前 | 1 件の回答 | 0
1
回答回答済み
Need to flip a function and pass it through fminbnd to get the max, function has multiple agruements
Found the solution with the following code: tmax = fminbnd(@(t) height(t,v0,th0,h0)*(-1),0,4); hmax = height(tmax,v0,th0...
Need to flip a function and pass it through fminbnd to get the max, function has multiple agruements
Found the solution with the following code: tmax = fminbnd(@(t) height(t,v0,th0,h0)*(-1),0,4); hmax = height(tmax,v0,th0...
13年弱 前 | 0
| 採用済み
質問
Need to flip a function and pass it through fminbnd to get the max, function has multiple agruements
I'm trying to use fminbnd to find the max value of a function that has multiple arguements. I know I need to flip the function s...
13年弱 前 | 1 件の回答 | 0
1
回答質問
Getting 3 zeros from a function using fzero
I'm trying to collect the 3 zeros over the interval [-5,5] for the function in my code below. I can't seem to figure out how to...
13年弱 前 | 2 件の回答 | 0
2
回答質問
3D surfc issue, contours not showing up in the correct place.
My code is... surfc(X,y,Z); hold on axis([-2 2 -0.5 0.5 -1 0]); surfc(X,-y,Z); I'm trying to have my contours show...
13年弱 前 | 0 件の回答 | 0
0
回答質問
Problem vertically aligning data in a table using fprintf
I'm putting my meshgrid to a table and I'm trying to make it look more presentable. I can't seem to figure out how to get them t...
13年弱 前 | 2 件の回答 | 0