photo

Nathaniel


ATK Space Systems

Con actividad desde 2012

Followers: 0   Following: 0

Mensaje

Estadística

All
MATLAB Answers

1 Pregunta
10 Respuestas

Cody

0 Problemas
51 Soluciones

CLASIFICACIÓN
2.368
of 301.522

REPUTACIÓN
27

CONTRIBUCIONES
1 Pregunta
10 Respuestas

ACEPTACIÓN DE RESPUESTAS
0.0%

VOTOS RECIBIDOS
4

CLASIFICACIÓN
 of 21.315

REPUTACIÓN
N/A

EVALUACIÓN MEDIA
0.00

CONTRIBUCIONES
0 Archivos

DESCARGAS
0

ALL TIME DESCARGAS
0

CLASIFICACIÓN
12.112
of 175.060

CONTRIBUCIONES
0 Problemas
51 Soluciones

PUNTUACIÓN
520

NÚMERO DE INSIGNIAS
2

CONTRIBUCIONES
0 Publicaciones

CONTRIBUCIONES
0 Público Canales

EVALUACIÓN MEDIA

CONTRIBUCIONES
0 Temas destacados

MEDIA DE ME GUSTA

  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer
  • Commenter
  • Solver

Ver insignias

Feeds

Ver por

Respondida
Simulink Project with R2010b
I think that Simulink Project first shipped with release 2011b. If you're asking if there is some way to add Simulink Project...

casi 13 años hace | 0

| aceptada

Pregunta


Why isn't there a bsxfun block in Simulink?
Recently, I have found myself adding 1-line MATLAB Function Blocks to some models, of the form (though not necessarily always wi...

casi 13 años hace | 1 respuesta | 1

1

respuesta

Respondida
Solving a Cubic Equation
The built-in function *roots* is what you're looking for.

más de 13 años hace | 0

| aceptada

Respondida
better way to improve performance of my code
Using varargin is what's killing you. You can get avoid this by constructing the cell array in the calling code, rather than re...

más de 13 años hace | 0

Respondida
Input parser: default argument depends on another required argument, how to do this?
function yourFunction(n, varargin) p = inputParser; p.addRequired('n', @(x)(true)); p.addParamValue('opt1', zer...

más de 13 años hace | 0

Respondida
How to define a variable that store its value after closing MATLAB file?
If you're getting undefined variable errors for something you thought was supposed to be a global, then you haven't defined it t...

más de 13 años hace | 0

Respondida
getting error Subscript indices must either be real positive integers or logicals.
I'm assuming that you are intending p to operate as a function, but maybe you are not passing in a function handle? Matlab ap...

casi 14 años hace | 1

| aceptada

Respondida
structure in class
Have a look at inputParser. My typical class constructor goes something like this: function obj = myclass(varargin) p =...

casi 14 años hace | 2

Respondida
read data from filenames in dir structure with function
Is this the first line of read_datafiles.m ? function [data1 data2] = read_datafiles(files, PathName) I would guess t...

casi 14 años hace | 0

| aceptada

Respondida
Slow down when accessing arrays
How much memory in your computer, and how big is N? If you run out of available physical memory, then you will spend a lot of t...

casi 14 años hace | 0

Respondida
Adding zeroes to Row Vector using a script
It would be simple if you guaranteed that numel(x)/M is always an integer, but without that guarantee: function y = zero_in...

casi 14 años hace | 0

| aceptada