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