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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 3 个回答 | 0