Feeds
回答済み
How to calculate the average without taking zeros values?
mean(nonzeros(X)) Y=[1 2 4 5 6 7 0 0 0 8 9 0 0 0 0; ... 2 3 4 5 6 7 0 0 0 8 0 0 0 9 0;... 3 4 5 6 7 8 9 0 0 0...
How to calculate the average without taking zeros values?
mean(nonzeros(X)) Y=[1 2 4 5 6 7 0 0 0 8 9 0 0 0 0; ... 2 3 4 5 6 7 0 0 0 8 0 0 0 9 0;... 3 4 5 6 7 8 9 0 0 0...
5年以上 前 | 1
質問
How to ignore not serializable variables when saving workspace
Hi. I am collecting data from external equipment which communicates with java. I need to save the workspace but it won't save a...
6年弱 前 | 2 件の回答 | 0
2
回答回答済み
Can't save workspace of 3 month calculation - URGENT
So the problem is that there are some variables that are communicating with java. So once it comes to that variable, it stops sa...
Can't save workspace of 3 month calculation - URGENT
So the problem is that there are some variables that are communicating with java. So once it comes to that variable, it stops sa...
6年弱 前 | 0
質問
How can I resave old figures?
hi everyone, I have an old figure saved in MyFigure.fig format. Now I want to edit/add/remove something from this. So I open th...
約8年 前 | 0 件の回答 | 0
0
回答質問
2014b alpha (transparency) bug
2014b alpha (transparency) doesn't work. Does anyone know a fix for this? thanks alpha(0.5) %does nothing to my bar plot
10年弱 前 | 0 件の回答 | 0
0
回答質問
linkaxes with different x scales
Hi, I have 2 plots with same y axis but different x axis. But the two x axis are propotional. How do I link x=1 of plot 1 to x=1...
10年弱 前 | 3 件の回答 | 0
3
回答回答済み
How do I remove lines atached to each point in the STEM plot in MATLAB?
there are places easier to use stem than plot stem(1:10,rand(10,1),'LineStyle','none'); %removes the line Other options ...
How do I remove lines atached to each point in the STEM plot in MATLAB?
there are places easier to use stem than plot stem(1:10,rand(10,1),'LineStyle','none'); %removes the line Other options ...
10年弱 前 | 3
質問
saving small data in '-v7.3' format
I am trying to figure out how '-v7.3' changes the saving method. I read in the help that it compresses files larger than 2GB. Is...
10年以上 前 | 0 件の回答 | 0
0
回答質問
Vertical Line plot - change properties together
Hi matlab comunity, I have a plot with 100 lines (using line command). Now, I want to change the color, line style and line wid...
10年以上 前 | 3 件の回答 | 0
3
回答質問
Script displays every line while running
I am using 2012a version. When I run a script from F5 or play button, it writes every line on the command window. How do I make...
11年弱 前 | 1 件の回答 | 0
1
回答回答済み
Set title and axis font type, scale and size
add ,'FontSize',22) to the end example xlabel('radius of snowflakes (pixels)','FontSize',22);
Set title and axis font type, scale and size
add ,'FontSize',22) to the end example xlabel('radius of snowflakes (pixels)','FontSize',22);
12年弱 前 | 0
質問
How do I find slack variables in SVM?/ Distance to the boundary?
Hi, I used "svmtrain" to train the algorithm: svmStruct=svmtrain(xdata,group); I used "svmclassify" to classify. My data is...
12年弱 前 | 2 件の回答 | 0
2
回答質問
How to input a 3D matrix to SVMtrain? (2class problem)
Hi. I have a 3D matrix Training (4x12x7) with first dimension being the number of samples. Group gives the labels +1 or -1. I g...
12年弱 前 | 1 件の回答 | 0
1
回答回答済み
How to extract Numbers from a textfile
Does this help http://www.mathworks.com/help/matlab/ref/importdata.html
How to extract Numbers from a textfile
Does this help http://www.mathworks.com/help/matlab/ref/importdata.html
約12年 前 | 0
質問
line plot of events with value
I want to plot TEST values (amplitude) against the given time in TEST_TS. Then I want to plot vertical lines at given times of ...
約12年 前 | 0 件の回答 | 0
0
回答質問
Coeff & constants of a symbolic equation
syms a b c exp=[-a-2*b-3*c+2, 4*b-c, -5*a+3] I need the coefficient matrix in the form % Coef_matrix=[ -1, -2, -3, ...
12年以上 前 | 1 件の回答 | 0
1
回答質問
Extracting coeffients and constants from a symbolic expression
Hi. im rather new to symbolic toolbox. Following is my code. clear all; close all; clc; N=3; alphavec = sym('alph...
12年以上 前 | 0 件の回答 | 0
0
回答質問
Get coeffients of symbolic expression
I have a set of equations (derv_alpha) that I have arrived at by differentiating an expression and setting it to zero. N=3;...
12年以上 前 | 1 件の回答 | 0
1
回答質問
Solving Symbolic Equations and maximizing a function
Sorry, given that this is too long and answer to each step gives a number of solutions to the next step, I will post the problem...
12年以上 前 | 1 件の回答 | 0
1
回答質問
Rearrange Variables in an equation that are changing everytime
I want to get one variable in terms of the other variables in the equation. For example syms a b eqn = ('a + 2*b = 1'...
12年以上 前 | 1 件の回答 | 0
1
回答質問
Rearrange Variables in an equation
I declare the variables using sym or syms then i have an equation a+2*b=1; I want MATLAB to give me a=1-2*b; or alternative...
12年以上 前 | 3 件の回答 | 1
3
回答回答済み
MATLAB with JAVA
I tried this and I get the following error in matlab. Any idea why? thanks. ??? Undefined function or variable 'SimpleJavaSigna...
MATLAB with JAVA
I tried this and I get the following error in matlab. Any idea why? thanks. ??? Undefined function or variable 'SimpleJavaSigna...
13年弱 前 | 0
質問
python to MATLAB
Hi, I am using a program called NENGO (http://nengo.ca) (open access) which codes stuff in python. I want to run the python file...
13年弱 前 | 3 件の回答 | 0