Estadísticas
28 Preguntas
1.226 Respuestas
12 Archivos
Cody1 Problema
292 Soluciones
CLASIFICACIÓN
59
of 290.039
REPUTACIÓN
3.184
CONTRIBUCIONES
28 Preguntas
1.226 Respuestas
ACEPTACIÓN DE RESPUESTAS
89.29%
VOTOS RECIBIDOS
295
CLASIFICACIÓN
4.378 of 19.625
REPUTACIÓN
313
EVALUACIÓN MEDIA
3.00
CONTRIBUCIONES
12 Archivos
DESCARGAS
44
ALL TIME DESCARGAS
3033
CLASIFICACIÓN
441
of 144.430
CONTRIBUCIONES
1 Problema
292 Soluciones
PUNTUACIÓN
3.653
NÚMERO DE INSIGNIAS
16
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Index exceeds number of array elements. Index must not exceed 8. HELP
Q = [beta alpha lambda vac d gamma c m]; The size of the vector is 1x8
alrededor de 24 horas hace | 0
Extract certain values in .mat file
data= [-0.13793 -0.114746 -0.204773 -0.224304 -0.181274 -0.192566 -0.159912 -0.174866 -0.134888 -0.148926] data(2:2:end) dat...
2 días hace | 0
Function definitions are not permitted in this context.
Rename the file *ok.m* to *uniform_pcm.m* and save file. Type the name of function from command window (giving input arguments)...
2 días hace | 0
Create a solid line instead of single points in the plot
If the plot function is inside a loop, you could put it outside the loop as shown below, in order to plot solid line plot(vR(1,...
2 días hace | 0
Plotting a diagram and getting some errors
There is no function called plotv in Matlab (or it must have been removed in new release), Please refer to the following link f...
3 días hace | 0
| aceptada
fsolve stopped because the last step was ineffective
The problem seems to occur if you have the same initial conditions for all the angles. Try giving different initial conditions/...
3 días hace | 1
summation of aij & i, j dependent function in matlab
% % initial contraction from flow, formula from diagram 4.10 % % %given test values Re_0=60.46; f0=1; f1=2.7225; % ind=...
4 días hace | 0
| aceptada
Why am I receiving a "Too many output arguments" error on this particular code?
Load the data and assign to a variable. When you load a MAT file using load function, it returns a struct with different data ...
4 días hace | 1
| aceptada
Keeping getting gradient error and no figure 2
%function [] =ZacharyC1 clear all clc U=4.7; m=6; a=0.5; [X,Y]=meshgrid (linspace(-2,2,100),linspace(-2,2,100)); r=sqrt...
4 días hace | 0
Why are my error bars multicoloured with no line?
x = 20:1:25; y = [1.75 1.78 1.81 1.85 1.9 1.95]; err = repmat(0.1,length(x),1); errorbar(x,y,err)
5 días hace | 2
comparison number on interval
px = 0; py = 1000; pz = 0; if (-524 <= px) & (px <= 524) & (-524 <= py) & (py <= 524) & (0 <= pz) & (pz <= 524) px ...
5 días hace | 0
| aceptada
Function with for loop doesn't always work
With option as rev, it wont work, since the variable deg is undefined option = 'rev' % with this option it wont if strcmp...
5 días hace | 0
How can i put the values in gradient of a function obtained through the gradient command?
@RADHIKA GOUR, you can use subs and plug-in the values for p1,p2,p3, p4 variables. TT=[1 1 1 1]; noise = randi([2 10]); sym...
6 días hace | 0
how can i stop this while loop? it doesn;t finish
Another way is to use isequal function if isequal((out.soc_fin(end)-soc_target),1.5) break end
7 días hace | 0
Turning a double into a scalar
close all; clear all; clc gamma = 1.4; mach = 2.5; theta_a = 0:.1:30; p1 = .2; t1 = 300; t_0 = 675; p_0= 3.417; vm2 = (t...
8 días hace | 1
| aceptada
How to join variables in the title of plot?
title(['PCA scores', num2str(method), num2str(par)]);
8 días hace | 0
Subs function doesn't fully replace the values
syms X Y Z W q = [X, Y, Z, W]; q_1 = [1, 2, 3, 4]; phi = [(2*X-W)^2 X^2-2*Y Y*sin(Z)]; J = jacobian(phi,q); disp(J); J_1 =...
10 días hace | 0
| aceptada
How to display functions with 2 outputs
a = 212% input('Please enter a number '); disp("Select what conversion you want to do:"); disp('1. Celsius to Fahrenhiet') co...
10 días hace | 1
| aceptada
plot legend shows wrong linespec
d = load('data.mat') %figure plot(d.t,repmat(d.molTot,length(d.t),1),'-rx',d.t,d.molGas,'-bo'); legend('a','b')
11 días hace | 1
| aceptada
for loops within while loop
while t1< 2 & h2 >= 0 % your code end You could put both conditions together as above using single while loop.
11 días hace | 0
How to Generate Subscripted Arrays in Live Scripts
\left(\begin{array}{ccc} z_{1} & z_{2} & z_{3} \end{array}\right)
13 días hace | 0
I am having trouble trying to maintain the loop
@Yogesh when array sizes dont match , those errors occur. check the array dimensions in for loop Nt=161224; dt=6e-12; T=9.673...
17 días hace | 0
how to create a function to solve a series of equitions?
if you have symbolic toolbox then you can define it inside the function as function [a,b,c] = EqSol(var1,var2,var3,var4,var5,va...
18 días hace | 0
| aceptada
How to Fix "Warning: Colon operands must be real scalars" Warning
for k = 1:numel(ply_nums_range) ply_nums = ply_nums_range(k); % for i = 1:length(data) b = data(...
19 días hace | 0
Error using symsum and arrays for summing over array elements
trial = symsum( array(double(q)).*q.^2 , q,2,7)
20 días hace | 0
| aceptada
Pregunta
Why is Run button not visible ?
Look at the snapshot attached Does anyone know why the run button is not visible this way?
20 días hace | 1 respuesta | 0
1
respuesta'InitalLearnRate' is not an option for solver 'sgdm'.
options = trainingOptions('sgdm', ... 'MiniBatchSize',128, ... 'MaxEpochs',1, ... 'InitialLearn...
23 días hace | 2
| aceptada
ideal-gas specific heats of various common gases function of temperature
Hi @재훈 if you consider a change in sign for the last term it would result in 1.005 M = 28.9; % assune T = 273.15; a=28.11;...
24 días hace | 1
| aceptada
Calculating a Fourier series with MATLAB manually problem
clear all close all hidden clc syms t % time syms n % number of terms to calculate the sum to syms T % period syms a_n(t, ...
27 días hace | 0
Square wave with randomly varying frequency
To make it appear square, you need to delete the 2*pi part in the square function, and use randi instead of rand for scalar ...
27 días hace | 0