Statistiques
RANG
776
of 300 765
RÉPUTATION
100
CONTRIBUTIONS
1 Question
41 Réponses
ACCEPTATION DE VOS RÉPONSES
0.0%
VOTES REÇUS
18
RANG
of 21 084
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
A résolu
How to subtract?
*± ± ± ± ± ± ± ± ± ± ±* * Imagine you need to subtract one...
environ un mois il y a
A résolu
Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...
environ un mois il y a
A résolu
Remove the air bubbles
Given a matrix a, return a matrix b in which all the zeros have "bubbled" to the top. That is, any zeros in a given column shoul...
environ un mois il y a
A résolu
Force and Motion 3
Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...
environ un mois il y a
A résolu
Force and Motion 2
Two robots are pulling on an object in opposite directions. One robot pulls with a force of F1 Newtons and the other with a forc...
environ un mois il y a
A résolu
surrounded matrix
With a given matrix A (size m x n) create a matrix B (size m+2 x n+2) so that the matrix A is surrounded by ones: A = [1 2 ...
environ un mois il y a
A résolu
Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...
environ un mois il y a
A résolu
Number of Even Elements in Fibonacci Sequence
Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...
environ un mois il y a
A résolu
An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...
environ un mois il y a
A résolu
Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F(n) = F(n-1) + F(n-2) * where F(1) = 1 and F(1)...
environ un mois il y a
A résolu
Factorize THIS, buddy
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...
environ un mois il y a
A résolu
Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...
environ un mois il y a
A résolu
Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...
environ un mois il y a
A résolu
Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...
environ un mois il y a
A résolu
Battery Life Estimation for a Device
A battery-powered device consumes a constant current while operating. The estimated battery life (T) can be calculated using the...
environ 2 mois il y a
A résolu
The MATLAB Treasure Hunt – Decode the First Clue Hidden in a Jumbled Sequence of Numbers
You discover an ancient parchment inside the college archives. It contains a jumbled sequence of numbers that seems meaningless ...
2 mois il y a
saving graphic as pdf file not working "out of the box"
All of these options work fine for me with no warnings/errors on R2025b using Windows 10: plot(1:10) print -dpdf test.pdf sav...
3 mois il y a | 0
Can I get notification when a new version (e.g., 2025a) is released?
Here's your notification - MATLAB R2025a is out! To answer your question though, a couple of years ago I set up a ThingSpeak wo...
8 mois il y a | 0
Find items of a matrix using a per-column index
A = [1, 2, 3; 4, 5, 6]; idx = [2, 2, 1]; linearIndices = sub2ind(size(A), idx, 1:length(idx)); result = A(linearIndices)
11 mois il y a | 0
| A accepté
hey so i need to repeat the code everytime to see and analyze the time responses for 20 different values of k. How can i do it at once and have the output for all the values?
There are many ways to go about this and your question is not very specific in what you want. What values do you want to keep? ...
plus d'un an il y a | 0
how to writefile string as a text-file with function
'\' is a formatting operator, so to get a backslash using fprintf/sprintf, you need to have a '\\'. Your first line contains mul...
plus d'un an il y a | 0
| A accepté
smart function to switch functions
You could set up a function with a switch statement, something like: function odesolver(@fun,odesolverStr) switch odesolverStr...
plus d'un an il y a | 0
Use drawing made by user in UI Axes to be animated onto graph
I've attempted this with the MATLAB logo as the image which is 'creating' the sine wave (see attached, the PNG file has to be in...
plus d'un an il y a | 0
| A accepté
Plotting between a point and a frame
Not excatly sure if I've understood your question, but here's my attempt at interpreting it: n = 50; t = linspace(0,2*pi,n); ...
presque 2 ans il y a | 0
How do I Measure Distances in an Image and save them in an array?
I haven't been able to test this out but you should be able to change the output argument to include diffPos: function diffPos ...
presque 2 ans il y a | 0
change mouse hover datatip information?
Since I don't have your GPSData data, here's a working example of how to do it using dataTipTextRow. See also Create Custom Data...
presque 2 ans il y a | 0
| A accepté
How do I display an image that a user uploads?
I'm glad it worked out for you! Just adding my comment as an answer so you can accept it 🙂 The code you are using should work...
presque 2 ans il y a | 0
| A accepté
Use regexp to find all letters in string except one
I copied your question (with no edits) into the MATLAB AI Chat Playground, and this was the response: Yes, it is possible to bu...
presque 2 ans il y a | 0
Exportgraphics does only export black images from UIAxes
When I run this code (from the command window), it all works fine (Windows 10, MATLAB R2023b Update 6). See attached image for r...
presque 2 ans il y a | 0
Error while using readPDFFormData to extract data from online pdf files
I was not able to get the URL to work directly either (not sure why since I'm pretty sure reading online images such as PNG/JPG ...
environ 2 ans il y a | 0
| A accepté











